We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e325ee commit 4f78764Copy full SHA for 4f78764
1 file changed
.github/workflows/codecov.yaml
@@ -0,0 +1,33 @@
1
+name: Run tests and upload coverage-Codecov
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: 2
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
19
+ python-version: "3.11" # ← Local makinenizde Python 3.12 kullanıyorsunuz
20
21
+ - name: Install dependencies
22
+ run: |
23
+ pip install pytest pytest-cov
24
+ pip install -e .
25
26
+ - name: Run tests
27
+ run: pytest tests/ --cov --cov-branch --cov-report=xml
28
29
+ - name: Upload results to Codecov
30
+ uses: codecov/codecov-action@v5
31
32
+ token: ${{ secrets.CODECOV_TOKEN }}
33
+ slug: WhiteSymmetry/kha256
0 commit comments