Skip to content

Commit 2d867bf

Browse files
committed
ci: backend test
1 parent 08d8381 commit 2d867bf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/backend-test.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: backend Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Setup Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.11'
17+
- name: Install Poetry
18+
uses: snok/install-poetry@v1
19+
- name: Install Deps
20+
run: poetry install --with dev
21+
- name: Run Tests
22+
run: pytest

0 commit comments

Comments
 (0)