Skip to content

Refactored core

Refactored core #441

Workflow file for this run

name: unit tests
on:
push:
branches: [ main, refactoring ]
pull_request:
branches: [ main, refactoring ]
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/