Changed to miniforge container #218
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: CI | |
on: push | |
jobs: | |
format-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pip install flake8 | |
- run: pip install pydocstyle | |
- run: flake8 --exclude=api.py --ignore=E501 tomotools/ | |
- if: always() | |
run: pydocstyle tomotools/ | |
pytest: | |
runs-on: ubuntu-latest | |
container: | |
image: aaherzing/tomotools:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pip install -e ./ | |
- run: pytest --doctest-modules --ignore=tomotools/tests/test_datasets.py tomotools/ | |
- if: always() | |
run: pytest --ignore=tomotools/tests/test_datasets.py tomotools/tests/ |