Skip to content

BUGFIC: correct master branch name #1

BUGFIC: correct master branch name

BUGFIC: correct master branch name #1

Workflow file for this run

name: Codecov
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -U pymavlink pytest pytest-cov coverage mock
pip install build
pip install -U .
- name: Test with unittest
run: |
coverage run -m pytest
coverage xml -o unittests/coverage.xml
- name: Upload coverage report
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}