Camera firmware update #557
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: Run Example Stack | |
on: | |
# Trigger the workflow on all pull requests, and pushes to main | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
jobs: | |
build-and-run: | |
name: Build And Run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Build and run | |
id: build_and_run | |
run: sh build.sh drivers/example applications/example | |
- name: Install Python dependencies | |
run: pip install flake8 | |
- name: Run example stack | |
run: ./.github/workflows/scripts/time_out.sh "Example stack" |