File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 77
77
fi
78
78
79
79
echo "MIN_COVERAGE=$MIN_COVERAGE" >> "$GITHUB_OUTPUT"
80
- - name : Run Unit tests
81
- run : make unittest optional_args="--junitxml=coverage-junit.xml --cov=. --cov-report xml:coverage.xml --cov-fail-under ${{ steps.coverage-value.outputs.MIN_COVERAGE }}"
80
+ - name : Run Python Tests
81
+ run : make python-test optional_args="--junitxml=coverage-junit.xml --cov=. --cov-report xml:coverage.xml --cov-fail-under ${{ steps.coverage-value.outputs.MIN_COVERAGE }}"
82
82
- uses : actions/upload-artifact@v4
83
83
if : ${{ !cancelled() }}
84
84
with :
87
87
coverage-junit.xml
88
88
coverage.xml
89
89
if-no-files-found : error
90
- - name : Run Functional tests
91
- run : make functionaltest
92
90
- name : Setup node
93
91
uses : actions/setup-node@v4
94
92
with :
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ build-frontend: ## 🏗️ Build the Frontend webapp
30
30
@echo -e " \e[34m$@ \e[0m" || true
31
31
@cd code/frontend && npm install && npm run build
32
32
33
+ python-test : # # 🧪 Run Python unit + functional tests
34
+ @echo -e " \e[34m$@ \e[0m" || true
35
+ @poetry run pytest -m " not azure" $(optional_args )
36
+
33
37
unittest : # # 🧪 Run the unit tests
34
38
@echo -e " \e[34m$@ \e[0m" || true
35
39
@poetry run pytest -m " not azure and not functional" $(optional_args )
You can’t perform that action at this time.
0 commit comments