Skip to content

Commit 57e6b75

Browse files
committed
[actions] Use secret token for COVERALLS_REPO_TOKEN
1 parent 62ba6da commit 57e6b75

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,6 @@ jobs:
9292
${{ runner.os }}-venv${{ matrix.python-version }}-coverage3-
9393
9494
- name: Test and coverage
95+
env:
96+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
9597
run: ${{ matrix.test_script_name }}

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,3 @@ test-coverage:
9393

9494
coverage-report:
9595
coverage report -m
96-
97-
coveralls:
98-
@COVERALLS_REPO_TOKEN=twBSHlgE5AMFEQNmUK04LDcN7SVth3lDV coveralls

misc/actions/test.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ if (!$?) {
3030
exit 1
3131
}
3232

33-
# Report coverage.
34-
$env:COVERALLS_REPO_TOKEN = "twBSHlgE5AMFEQNmUK04LDcN7SVth3lDV"
33+
# Report coverage. Note that it requires COVERALLS_REPO_TOKEN to be set!
3534
coveralls

misc/actions/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ else
1717
fi
1818

1919
make test-coverage
20-
make coveralls
20+
21+
# Note that it requires COVERALLS_REPO_TOKEN to be set!
22+
coveralls

0 commit comments

Comments
 (0)