From 691f43c17baee0a2d45cc4861f66629996bd8a1f Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Tue, 4 May 2021 17:52:48 +1000 Subject: [PATCH] Move tests into seperate workflow --- .github/workflows/check.yml | 6 +----- .github/workflows/tests_host.yml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/tests_host.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 748f82e..c0f5358 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -2,7 +2,7 @@ on: [push, pull_request] name: CI Checks jobs: check: - name: Check and Lint + name: cargo-check runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -16,7 +16,3 @@ jobs: with: command: check args: --workspace - - uses: actions-rs/cargo@v1 - with: - command: test - args: --target x86_64-unknown-linux-gnu diff --git a/.github/workflows/tests_host.yml b/.github/workflows/tests_host.yml new file mode 100644 index 0000000..0d50f03 --- /dev/null +++ b/.github/workflows/tests_host.yml @@ -0,0 +1,19 @@ +on: [push, pull_request] +name: On-host tests +jobs: + check: + name: Check and Lint + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: thumbv6m-none-eabi + override: true + profile: minimal + ## Tests are currently not working on host - disabled until we can find a good solution + # - uses: actions-rs/cargo@v1 + # with: + # command: test + # args: --target x86_64-unknown-linux-gnu