Skip to content

gpio: remove gpiozero from requirements #40

gpio: remove gpiozero from requirements

gpio: remove gpiozero from requirements #40

name: treadmill-ci-test
env:
TERM: xterm # Makes tput work in actions output
# Controls when the action will run. Triggers the workflow on pull request and
# merge group checks:
#
# KEEP IN SYNC WITH `environment:` ATTRIBUTE BELOW:
on:
push:
branches:
- main
- dev/test_ci_branch
# Pull requests from forks will not have access to the required GitHub API
# secrets below, even if they are using an appropriate deployment environment
# and the workflow runs have been approved according to this environment's
# rules. We don't know whether this is a bug on GitHub's end or deliberate.
# Either way, for now we disable this workflow to run on PRs until we have
# an API proxy that securely performs these GitHub API calls (adding runners
# and starting Treadmill jobs with those runner registration tokens), which
# allows this workflow to run without access to repository secrets.
#pull_request:
merge_group: # Run CI for the GitHub merge queue
permissions:
contents: read
jobs:
treadmill-ci:
uses: ./.github/workflows/treadmill-ci.yml
with:
# Only run on a specific repository, as others will not have the right
# environments set up and secrets configured. Forks may want to change
# this parameter.
repository-filter: 'tock/tock-hardware-ci'
# Provide access to the required Treadmill secrets by running in the
# appropriate environment (depending on the on: triggers above)
job-environment: ${{ github.event_name == 'pull_request' && 'treadmill-ci' || 'treadmill-ci-merged' }}
# This workflow tests the tock-hardware-ci scripts itself, so take the
# current GITHUB_SHA:
tock-hardware-ci-ref: ${{ github.sha }}
# Use the latest upstream Tock kernel / userspace components:
tock-kernel-ref: 'master'
libtock-c-ref: 'master'
tests: |
tests/c_hello.py
tests/mpu_walk_region.py
# tests: |
# tests/ble_env_sense.py
# tests/ble_advertising.py
# tests/ble_passive_scanning.py
# tests/c_hello.py
# tests/printf_long.py
# tests/c_hello_and_printf_long.py
# tests/sensors.py
# tests/console_recv_short.py
# tests/console_recv_long.py
# tests/lua_hello.py
# tests/malloc_test01.py
# tests/malloc_test02.py
# tests/stack_size_test01.py
# tests/stack_size_test02.py
# tests/mpu_stack_growth.py
# tests/mpu_walk_region.py
# tests/adc.py
# tests/adc_continuous.py
# tests/ipc_logic.py
# tests/gpio_interrupt.py
# tests/whileone.py
# tests/multi_alarm_simple_test.py
secrets: inherit