Save json, save files to date dir, refactor #16
Workflow file for this run
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: pull_request | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
- name: Install packages | |
run: poetry install | |
- name: Prep mypy | |
run: poetry run mypy --explicit-package-bases scraper api_fetcher || true && poetry run mypy --explicit-package-bases --non-interactive --install-types | |
- name: Run mypy | |
run: poetry run mypy --explicit-package-bases scraper api_fetcher | |
- name: Run pytest tests | |
run: poetry run pytest |