Skip to content

Commit 7b49848

Browse files
committed
test
1 parent aa4457a commit 7b49848

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test Act
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
test-backend:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.12"
18+
- name: Install Poetry
19+
run: curl -sSL https://install.python-poetry.org | python3 -
20+
- name: Add Poetry to PATH
21+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
22+
- name: Install dependencies
23+
run: poetry install
24+
working-directory: backend
25+
- name: Run tests
26+
run: poetry run pytest
27+
working-directory: backend

0 commit comments

Comments
 (0)