Skip to content

Commit 276dc31

Browse files
committed
Add CICD basic workflow
1 parent 39c48c4 commit 276dc31

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run mock project
2+
on: [push, workflow_dispatch]
3+
4+
jobs:
5+
run-mock_project:
6+
name: Install NUTS from wheel and run mock project
7+
runs-on: ubuntu-latest
8+
services:
9+
box01:
10+
image: ghcr.io/network-unit-testing-system/nuts-testclient:latest
11+
ports:
12+
- 2222:22
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v3
19+
with:
20+
enable-cache: true
21+
cache-dependency-glob: "uv.lock"
22+
- name: Set up Python
23+
run: uv python install
24+
- name: Install the project
25+
run: uv sync --all-extras --dev
26+
27+
- name: Run tests
28+
run: ssh-keyscan -p 2222 localhost
29+

0 commit comments

Comments
 (0)