Removed defaults in main.yml #336
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@v4 | |
- run: pip install flake8 | |
- run: pip install pydocstyle | |
- run: flake8 --exclude=api.py --ignore=E501 etspy/ | |
- if: always() | |
run: pydocstyle etspy/ | |
pytest: | |
runs-on: ubuntu-latest | |
container: | |
image: aaherzing/etspy:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: conda activate etspy | |
- run: which python | |
- run: conda list | |
- run: pip install -e ./ | |
- run: pytest --doctest-modules --ignore=etspy/tests/test_datasets.py etspy/ | |
- if: always() | |
run: pytest --ignore=etspy/tests/test_datasets.py etspy/tests/ |