Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit bcf5484

Browse files
[WIP] c/chore(github): add workflow to run unit tests
1 parent a837ea2 commit bcf5484

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/unit-tests.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests (backend)
2+
3+
on:
4+
push:
5+
branches:
6+
- ionos-dev
7+
- 'feature/**'
8+
pull_request:
9+
branches:
10+
- 'feature/**'
11+
12+
jobs:
13+
pytest:
14+
name: Unit tests (Python)
15+
runs-on: self-hosted
16+
steps:
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5.6.0
21+
with:
22+
python-version: 3.11
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r backend/requirements.txt
28+
29+
- name: pytest run
30+
run: |
31+
cd backend
32+
pytest -o log_cli=true -o log_cli_level=INFO .

0 commit comments

Comments
 (0)