Skip to content

Commit 881d78f

Browse files
committed
unit test for token usage
1 parent 45e6c5a commit 881d78f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ jobs:
5252
- name: Show out.csv
5353
run: cat out.csv
5454

55-
token-usage-unit_test:
55+
token-usage-unit_test:
5656

57-
runs-on: ubuntu-latest
58-
steps:
59-
- uses: actions/checkout@v4
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: actions/checkout@v4
6060

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-
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-
6868
69-
- name: Install dependencies
70-
run: pip install -r requirements.txt
69+
- name: Install dependencies
70+
run: pip install -r requirements.txt
7171

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
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

0 commit comments

Comments
 (0)