Skip to content

Move the tests to a separate directory (#39) #27

Move the tests to a separate directory (#39)

Move the tests to a separate directory (#39) #27

name: Python Package
on: [ push ]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install package
run: |
pip install -e .[test]
- name: Lint with flake8
run: |
flake8 batdata/ scripts/ tests
- name: Test with pytest
run: |
pytest --cov=batdata tests
- name: Coveralls
run: |
pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}