This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
feat: start trainings endpoint #3
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: backend test | |
on: | |
push: | |
paths: | |
- "backend/src/**" | |
pull_request: | |
paths: | |
- "backend/src/**" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: snok/install-poetry@v1 | |
- name: Install dependencies | |
working-directory: backend/src | |
run: poetry install | |
- name: Test with pytest | |
run: poetry -C backend/src run pytest -m "not api and not db and not email" |