First round of updates (#10) #355
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 ruff isort | |
- run: isort . --check | |
- run: ruff check | |
pytest: | |
runs-on: ubuntu-latest | |
container: | |
image: aaherzing/etspy:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install ETSpy | |
run: pip install -e ./ | |
- name: Run docstring example tests | |
run: pytest --doctest-modules --ignore=etspy/tests etspy/ | |
- name: Run full test suite | |
if: always() | |
run: pytest etspy/tests/ |