@@ -21,27 +21,19 @@ jobs:
2121 with :
2222 fetch-depth : 0
2323
24- - name : Install dev tools
25- run : |
26- wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
27- echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/trivy.list
28- sudo apt-get update
29- sudo apt-get install -y curl jq xsltproc gnupg2 imagemagick trivy
30-
31- - name : Install project specific dependencies
32- run : |
33- # sudo apt-get install -y YOUR_PROJECT_DEPENDENCIES
34-
35- - name : Install uv (python package manager)
24+ - name : Install uv
3625 uses : astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
3726 with :
3827 version : " 0.6.3"
3928 enable-cache : true
4029 cache-dependency-glob : uv.lock
4130
31+ - name : Install dev tools
32+ shell : bash
33+ run : .github/workflows/install_dev_tools.bash
34+
4235 - name : Install Python, venv and dependencies
43- run : |
44- uv sync --all-extras --frozen --link-mode=copy
36+ run : uv sync --all-extras --frozen --link-mode=copy
4537
4638 - name : Release version check
4739 if : startsWith(github.ref, 'refs/tags/v')
@@ -74,25 +66,33 @@ jobs:
7466 fi
7567
7668 - name : Smoke tests
77- run : |
78- uv run --no-dev oe-python-template-example hello-world
69+ run : uv run --no-dev oe-python-template-example hello-world
7970
80- - name : Run unit tests, measure coverage, lint, and check vulnerabilities
81- run : |
82- uv run --all-extras nox
71+ - name : Lint
72+ run : make lint
73+
74+ - name : Audit
75+ run : make audit
76+
77+ - name : Test
78+ run : make test
8379
8480 - name : Upload test results
8581 uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
8682 if : ${{ always() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
8783 with :
8884 name : test-results
8985 path : |
90- junit.xml
91- coverage.xml
92- coverage_html/
93- vulnerabilities.json
94- licenses.json
95- licenses-inverted.json
86+ reports/mypy_junit.xml
87+ reports/sbom.json
88+ reports/sbom.spdx
89+ reports/licenses.csv
90+ reports/licenses.json
91+ reports/licenses_grouped.json
92+ reports/vulnerabilities.json
93+ reports/junit.xml
94+ reports/coverage.xml
95+ reports/coverage_html
9696 retention-days : 30
9797
9898 - name : Upload coverage reports to Codecov
0 commit comments