Skip to content

Commit

Permalink
ci: add gh python tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bukowa committed Sep 5, 2024
1 parent 2d9e5d8 commit c65ee6c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Test: Python"

on:
workflow_dispatch:
push:
branches:
- main
- develop
pull_request:

jobs:

test:
name: "test backend"
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -r backend/requirements.txt
- run: pytest backend/tests

0 comments on commit c65ee6c

Please sign in to comment.