Skip to content

Crazy Stab Lab Mac Lib experiment 🗡️ #12

Crazy Stab Lab Mac Lib experiment 🗡️

Crazy Stab Lab Mac Lib experiment 🗡️ #12

name: Crazy Stab Lab Mac Lib experiment 🗡️
# Controls when the action will run.
on:
workflow_dispatch:
jobs:
sanity_testsuite_on_mac:
env:
CRAZY_SITE: crazylab-mac
runs-on: [self-hosted, macOS]
timeout-minutes: 120
steps:
- name: Check out sources
uses: actions/checkout@v4
- name: Setup python environment
run: |
$(brew --prefix)/bin/python3.10 -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