Update Container-scope.md #4
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: test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install poetry | |
run: | | |
pip install -U pip | |
pip install poetry | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Run tests | |
run: poetry run coverage run -m pytest tests | |
- name: Check MyPy | |
run: poetry run mypy aisle | |
- name: Check Ruff | |
run: poetry run ruff check | |
- name: Check WPS | |
run: poetry run flake8 aisle tests | |
- name: Check imports | |
run: poetry run lint-imports |