We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd95492 commit f08c72fCopy full SHA for f08c72f
1 file changed
.github/workflows/code-coverage.yml
@@ -0,0 +1,32 @@
1
+# Create code coverage report in Coveralls.io.
2
+
3
+name: Coveralls.io code coverage report
4
5
+on:
6
+ push:
7
+ branches: [ "main" ]
8
+ pull_request:
9
10
+ workflow_dispatch:
11
12
+jobs:
13
+ build:
14
+ name: Running unit tests
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Python 3.11
19
+ uses: actions/setup-python@v3
20
+ with:
21
+ python-version: "3.11"
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install -r requirements.txt
26
+ - name: Install coveralls
27
28
+ python -m pip install coveralls
29
+ - name: Checking coverage
30
31
+ coverage run --source=simplejustwatchpythonapi -m pytest test/
32
+ COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_TOKEN }} coveralls
0 commit comments