Fix issues with docs, deployment and testing #9
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: Testing | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
cache: 'pip' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: pip install . | |
- name: Install cffirmware | |
run: | | |
git clone -b drone_racing https://github.com/utiasDSL/pycffirmware.git | |
cd pycffirmware | |
git submodule update --init --recursive | |
./wrapper/build_linux.sh | |
- name: Test with pytest | |
run: | | |
pip install pytest pytest-cov | |
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html | |