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 7777 fi
7878
7979 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 }}"
8282 - uses : actions/upload-artifact@v4
8383 if : ${{ !cancelled() }}
8484 with :
8787 coverage-junit.xml
8888 coverage.xml
8989 if-no-files-found : error
90- - name : Run Functional tests
91- run : make functionaltest
9290 - name : Setup node
9391 uses : actions/setup-node@v4
9492 with :
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ build-frontend: ## 🏗️ Build the Frontend webapp
3030 @echo -e " \e[34m$@ \e[0m" || true
3131 @cd code/frontend && npm install && npm run build
3232
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+
3337unittest : # # 🧪 Run the unit tests
3438 @echo -e " \e[34m$@ \e[0m" || true
3539 @poetry run pytest -m " not azure and not functional" $(optional_args )
You can’t perform that action at this time.
0 commit comments