This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +9
-47
lines changed Expand file tree Collapse file tree 5 files changed +9
-47
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v3
19
- - name : Initialize Runtime Code Analysis
20
- uses : github/codeql-action/init@v2
21
- with :
22
- languages : python
23
19
- name : Setup Worker
24
20
run : ci/scripts/setup_worker.sh
25
21
- name : Increment Version Number
28
24
run : ci/scripts/build.sh
29
25
- name : Perform Static Code Analysis
30
26
run : ci/scripts/codescan.sh
31
- - name : Perform Runtime Code Analysis
32
- uses : github/codeql-action/analyze@v2
33
- - name : Perform Secure Code Analysis (Secrets)
34
- uses : trufflesecurity/trufflehog@main
35
- with :
36
- path : ./
37
- base : ${{ github.ref_name }}
38
- head : HEAD
39
27
- name : Run Unit Tests
40
28
run : ci/scripts/test_runner.sh
41
29
- name : Upload release to PyPI
Original file line number Diff line number Diff line change 1
1
name : Continuous Deployment
2
2
on :
3
3
schedule :
4
- - cron : " 00 09 * * 1 "
4
+ - cron : " 00 09 1 * * "
5
5
jobs :
6
6
pre_release_check :
7
7
name : Pre-release Check
@@ -30,26 +30,14 @@ jobs:
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- uses : actions/checkout@v3
33
- - name : Initialize Runtime Code Analysis
34
- uses : github/codeql-action/init@v2
35
- with :
36
- languages : python
37
33
- name : Setup Worker
38
34
run : ci/scripts/setup_worker.sh
39
35
- name : Increment Version Number
40
- run : ci/scripts/new_version.sh -- auto_increment
36
+ run : ci/scripts/new_version.sh auto_increment
41
37
- name : Build Package and Verify
42
38
run : ci/scripts/build.sh
43
39
- name : Perform Static Code Analysis
44
40
run : ci/scripts/codescan.sh
45
- - name : Perform Runtime Code Analysis
46
- uses : github/codeql-action/analyze@v2
47
- - name : Perform Secure Code Analysis (Secrets)
48
- uses : trufflesecurity/trufflehog@main
49
- with :
50
- path : ./
51
- base : ${{ github.ref_name }}
52
- head : HEAD
53
41
- name : Run Unit Tests
54
42
run : ci/scripts/test_runner.sh
55
43
- name : Upload release to PyPI
Original file line number Diff line number Diff line change 1
1
name : Continuous Integration
2
2
on :
3
+ pull_request :
4
+ branches :
5
+ - master
3
6
push :
7
+ branches :
8
+ - master
4
9
schedule :
5
10
- cron : " 00 09 * * *"
6
11
jobs :
7
12
continuous_integration :
8
13
name : Continuous Integration
9
- permissions :
10
- actions : read
11
- contents : read
12
- security-events : write
13
14
runs-on : ubuntu-latest
14
15
steps :
15
16
- uses : actions/checkout@v3
16
- - name : Initialize Runtime Code Analysis
17
- uses : github/codeql-action/init@v2
18
- with :
19
- languages : python
20
17
- name : Setup Worker
21
18
run : ci/scripts/setup_worker.sh
22
19
- name : Build Package and Verify
23
20
run : ci/scripts/build.sh
24
21
- name : Perform Static Code Analysis
25
22
run : ci/scripts/codescan.sh
26
- - name : Perform Runtime Code Analysis
27
- uses : github/codeql-action/analyze@v2
28
- - name : Perform Secure Code Analysis (Secrets)
29
- uses : trufflesecurity/trufflehog@main
30
- with :
31
- path : ./
32
- base : ${{ github.ref_name }}
33
- head : HEAD
34
23
- name : Run Unit Tests
35
24
run : ci/scripts/test_runner.sh
36
25
- name : Upload Test Report
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ REPO=$(dirname "$REPO../")
8
8
REPO=$( dirname " $REPO ../" )
9
9
10
10
cd $REPO
11
- sudo python3 -m build
12
- sudo python3 -m twine check $REPO /dist/*
11
+ python3 -m build
12
+ python3 -m twine check $REPO /dist/*
Original file line number Diff line number Diff line change @@ -10,6 +10,3 @@ REPO=$(dirname "$REPO../")
10
10
python3 -m pip install --upgrade pip
11
11
python3 -m pip install -r $REPO /ci/config/requirements.txt
12
12
python3 -m pip install -r $REPO /requirements.txt
13
- sudo python3 -m pip install --upgrade pip
14
- sudo python3 -m pip install -r $REPO /ci/config/requirements.txt
15
- sudo python3 -m pip install -r $REPO /requirements.txt
You can’t perform that action at this time.
0 commit comments