Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Backend Test

Backend Test #6

Workflow file for this run

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
working-directory: backend/src
run: poetry run pytest -m "not api and not db and not mail and not bus"