File tree Expand file tree Collapse file tree 4 files changed +61
-29
lines changed
Expand file tree Collapse file tree 4 files changed +61
-29
lines changed Original file line number Diff line number Diff line change 1- name : Unit Tests
1+ name : Continues Integration
22
33on :
44 workflow_dispatch : null
55 push :
66 pull_request :
77
88jobs :
9- run-tests :
9+ run-tests-lint :
1010 runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
@@ -20,12 +20,11 @@ jobs:
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222
23- - name : install or update Python build system
24- run : python3 -m pip install -U wheel setuptools certifi pip
25-
2623 - name : install the package with dev tools
2724 run : make dev-install
2825
2926 - name : run unit tests
3027 run : make unit-test
3128
29+ - name : run linter
30+ run : make lint
Original file line number Diff line number Diff line change 1+ name : " CodeQL Advanced"
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+ schedule :
9+ - cron : " 0 13 * * 5"
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+ runs-on : ubuntu-latest
15+ permissions :
16+ security-events : write
17+
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ include :
22+ - language : python
23+ build-mode : none
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v4
27+
28+ - name : Initialize CodeQL
29+ uses : github/codeql-action/init@v3
30+ with :
31+ languages : ${{ matrix.language }}
32+ build-mode : ${{ matrix.build-mode }}
33+ queries : security-and-quality
34+
35+ - name : Perform CodeQL Analysis
36+ uses : github/codeql-action/analyze@v3
37+ with :
38+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1+ name : ' Dependency review'
2+ on :
3+ pull_request :
4+ branches : [ "main" ]
5+
6+ permissions :
7+ contents : read
8+ pull-requests : write
9+
10+ jobs :
11+ dependency-review :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : ' Checkout repository'
15+ uses : actions/checkout@v4
16+ - name : ' Dependency Review'
17+ uses : actions/dependency-review-action@v4
18+ with :
19+ comment-summary-in-pr : on-failure
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments