Skip to content

Commit 7161f36

Browse files
committed
add test workflow: build project without docker and run some tests
1 parent a9883ee commit 7161f36

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test build project and run tests without docker
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build-and-launch:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v4
11+
12+
- name: Set up Python 3.14
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.14'
16+
cache: 'pip'
17+
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements.txt
22+
23+
- name: Run Python tests
24+
working-directory: ./backend/file_utils
25+
run: |
26+
python -m pytest tests/ -v --cov=./ --cov-report=xml

0 commit comments

Comments
 (0)