Skip to content

Nightly Tests

Nightly Tests #127

Workflow file for this run

name: Nightly Tests
on:
schedule:
- cron: '0 0 * * *' # This cron schedule runs every night at midnight UTC
jobs:
test:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Install dependencies
run: |
set -e
apt update
apt install curl qemu-system-arm python3-pytest make gcc gcc-arm-none-eabi git -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
export PATH=$PATH:$HOME/.cargo/bin/
rustup toolchain install nightly-2024-02-04 --allow-downgrade --profile minimal --component clippy
rustup target add thumbv7m-none-eabi
cargo install rustfilt
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Run tests
working-directory: tests
run: PATH=$PATH:$HOME/.cargo/bin/ pytest-3 test.py