Skip to content

add badges pypi and python (#75) #467

add badges pypi and python (#75)

add badges pypi and python (#75) #467

Workflow file for this run

name: unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: [ "3.9", "3.10" ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pip install pytest-cov
- name: Run flake8 checks
run: |
flake8 gefest test --count --statistics
- name: Test with pytest
run: |
pytest --cov=GEFEST -s test/