fix_upd/makefile: fix gitignore & upd makefile (#4) #38
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: Code checking. | |
on: | |
push: | |
branches: [feat/backend, dev] | |
pull_request: | |
branches: [dev] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: tests | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pipx install poetry | |
poetry install | |
- name: tests | |
run: poetry run python -m pytest | |