Skip to content

Commit 6547070

Browse files
added tests
1 parent d416547 commit 6547070

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,32 @@ on:
99
jobs:
1010

1111
smoke-test:
12+
strategy:
13+
matrix:
14+
args:
15+
- "--invites"
16+
- "--commits"
17+
- "--pull_requests"
18+
- "--issues"
19+
- "--wikis"
20+
- "--contributors"
21+
- "--forks_include"
22+
- "--pr_comments"
1223

1324
runs-on: ubuntu-latest
1425

1526
steps:
1627
- uses: actions/checkout@v4
1728

1829
- name: Create list.txt
19-
run: echo "OSLL/github_repo_commitment_calc" > list.txt
30+
run: echo "moevm/github_repo_commitment_calc" > list.txt
2031

2132
- name: Install dependencies
2233
run: pip install -r requirements.txt
2334

2435
- name: Run test
25-
run: python3 main.py --commits --token ${{ secrets.TEST_TOKEN_GITHUB }} --list list.txt --out out.csv --branch master
36+
run: |
37+
python3 main.py ${{ matrix.args }} --token ${{ secrets.TEST_TOKEN_GITHUB }} --list list.txt --out out1.csv --branch master
2638
2739
- name: Check if out.csv exists
2840
run: ls out.csv

0 commit comments

Comments
 (0)