File tree Expand file tree Collapse file tree 2 files changed +27
-23
lines changed
Expand file tree Collapse file tree 2 files changed +27
-23
lines changed Original file line number Diff line number Diff line change 1+ name : Large Tests
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+
7+ jobs :
8+ token-usage-unit_test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+
13+ - name : Cache pip
14+ uses : actions/cache@v3
15+ with :
16+ path : ~/.cache/pip
17+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
18+ restore-keys : |
19+ ${{ runner.os }}-pip-
20+
21+ - name : Install dependencies
22+ run : pip install -r requirements.txt
23+
24+ - name : Run test
25+ run : python3 test_token_usage.py --tt1 ${{ secrets.TEST_TOKEN_GITHUB }} --tt2 ${{ secrets.SECOND_TEST_TOKEN_GITHUB }} --repo moevm/github_repo_commitment_calc --out out.csv
Original file line number Diff line number Diff line change 1- name : Tests
1+ name : Smoke Tests
22
33on :
44 push :
77 branches : [ "master" ]
88
99jobs :
10-
1110 smoke-test :
1211 strategy :
1312 matrix :
3635 run : pip install -r requirements.txt
3736
3837 - name : Create list.txt
39- run : echo "moevm/github_repo_commitment_calc " > list.txt
38+ run : echo "thehighestmath/SummerPractice " > list.txt
4039
4140 - name : Run test
4241 run : |
5150
5251 - name : Show out.csv
5352 run : cat out.csv
54-
55- token-usage-unit_test :
56-
57- runs-on : ubuntu-latest
58- steps :
59- - uses : actions/checkout@v4
60-
61- - name : Cache pip
62- uses : actions/cache@v3
63- with :
64- path : ~/.cache/pip
65- key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
66- restore-keys : |
67- ${{ runner.os }}-pip-
68-
69- - name : Install dependencies
70- run : pip install -r requirements.txt
71-
72- - name : Run test
73- run : python3 test_token_usage.py --tt1 ${{ secrets.TEST_TOKEN_GITHUB }} --tt2 ${{ secrets.SECOND_TEST_TOKEN_GITHUB }} --repo moevm/github_repo_commitment_calc --out out.csv
You can’t perform that action at this time.
0 commit comments