File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,17 @@ jobs:
48
48
run : uv version
49
49
50
50
- name : Install deps
51
+ id : install-deps
51
52
run : uv sync --locked
52
53
53
54
# https://github.com/pre-commit/action
54
55
- name : Run pre-commit on all files
56
+ if : ${{ steps.install-deps.conclusion == 'success' && !cancelled() }}
55
57
run : |
56
58
uv run pre-commit run --all-files
57
59
58
- - run : uv run pytest
60
+ - run : make test
61
+ if : ${{ steps.install-deps.conclusion == 'success' && !cancelled() }}
59
62
60
63
code-static-analysis :
61
64
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -512,3 +512,8 @@ endif
512
512
.PHONY : print-release
513
513
print-release :
514
514
@echo " $( RELEASE) "
515
+
516
+ .PHONY : test
517
+ test :
518
+ @echo " Running quick static tests"
519
+ uv run pytest
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Make sure the following tools are installed in your environment:
16
16
- podman/docker
17
17
- python
18
18
- pipenv
19
- - make
19
+ - make (on macOS install/use: gmake)
20
20
- curl
21
21
22
22
### Installation
@@ -76,9 +76,11 @@ uv sync --locked
76
76
By completing configuration in previous section, you are able to run any tests that don't need to start a container using following command:
77
77
78
78
```
79
- uv run pytest
79
+ make test
80
80
```
81
81
82
+ Use ` gmake test ` if you're on macOS.
83
+
82
84
##### Container selftests
83
85
84
86
We're using [ Testcontainers.com] ( https://testcontainers.com/ ) to run containers from Python tests.
You can’t perform that action at this time.
0 commit comments