Bump version, fix flake8 errors. #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | |
timeout-minutes: 10 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Requirements | |
run: python -m pip install pytest coverage pytest-cov | |
- name: Install package | |
run: python setup.py install | |
- name: Execute Tests | |
run: flake8 engineering_notation & pytest -v tests |