Write JSON coverage report #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 3 1 * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.x' | |
- name: Install uv | |
run: python -m pip install --upgrade uv | |
- name: Create venv | |
run: uv venv | |
- name: Install requirements | |
run: uv pip install -r requirements.txt -r requirements-ci.txt | |
- name: Run ci.sh script | |
run: ./ci.sh | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |