We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ccac1e commit 8bed6a7Copy full SHA for 8bed6a7
.github/workflows/codecov.yml
@@ -0,0 +1,29 @@
1
+name: Run tests and upload coverage
2
+
3
+on:
4
+ push
5
6
+jobs:
7
+ test:
8
+ name: Run tests and collect coverage
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
19
+ - name: Install dependencies
20
+ run: pip install pytest pytest-cov
21
22
+ - name: Run tests
23
+ run: pytest --cov-branch --cov-report=xml
24
25
+ - name: Upload results to Codecov
26
+ uses: codecov/codecov-action@v5
27
28
+ token: ${{ secrets.CODECOV_TOKEN }}
29
+ slug: kirill-ilichev/TusFastAPIServer
0 commit comments