Crazy Stab Lab Mac Lib experiment 🗡️ #13
Workflow file for this run
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: Crazy Stab Lab Mac Lib experiment 🗡️ | |
# Controls when the action will run. | |
on: | |
workflow_dispatch: | |
jobs: | |
sanity_testsuite_on_mac: | |
runs-on: [self-hosted, macOS] | |
strategy: | |
matrix: | |
python_version: ["3.9", "3.10", "3.11"] | |
fail-fast: false | |
env: | |
CRAZY_SITE: crazylab-mac | |
PYTHON_VERSION: ${{ matrix.python_version }} | |
timeout-minutes: 120 | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v4 | |
- name: Setup python environment | |
run: | | |
$(brew --prefix)/bin/python${PYTHON_VERSION} -m venv venv | |
source venv/bin/activate | |
- name: Install pytest | |
run: venv/bin/pip install pytest | |
- name: Install Crazyflie python library | |
run: venv/bin/pip install git+https://github.com/bitcraze/crazyflie-lib-python.git@master | |
- name: Install requirements | |
run: | | |
venv/bin/pip install -r requirements.txt | |
- name: Run test suite | |
run: venv/bin/python -m pytest --verbose -m sanity tests/QA | |