We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52e7c7 commit c25262eCopy full SHA for c25262e
.github/.gitinclude
.github/workflows/api.yml
@@ -0,0 +1,21 @@
1
+name: API workflow
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ name: Test python API
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/setup-python@v2
12
+ with:
13
+ python-version: '3.12'
14
+ - name: Install requirements
15
+ run: pip install -r requirements.txt
16
+ - name: Run tests and collect coverage
17
+ run: pytest --cov=app --cov-report=xml
18
+ - name: Upload coverage reports to Codecov with GitHub Action
19
+ uses: codecov/codecov-action@v5
20
+ env:
21
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
0 commit comments