Add sync module (and a first test) #10
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 scraper api_fetcher || true && poetry run mypy --non-interactive --install-types | |
- name: Run mypy | |
run: poetry run mypy scraper api_fetcher | |
- name: Run pytest tests | |
run: poetry run pytest |