From 372be8d6970f328560f2bea22af41c879b35104f Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Mon, 11 Sep 2023 01:57:47 +0400 Subject: [PATCH] CI: little bit speed up tests (one check instead of test second time), disable Update workflow --- .github/workflows/tests.yml | 8 +++----- .github/workflows/update.yml | 9 +++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9cd9b838..d592b108 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -131,6 +131,9 @@ jobs: - name: SDK ${{ steps.sdk.outputs.version }} installed run: which pdc && pdc --version + - name: Check + run: cargo check --tests -p=cargo-playdate --all-features + - name: Test Utils run: | cargo test -p=playdate-build-utils --all-features @@ -142,11 +145,6 @@ jobs: cargo test -p=cargo-playdate -- --nocapture --test-threads=1 rm -rf ./target/tmp - - name: Test (+usb) - run: | - cargo test -p=cargo-playdate --features=usb -- --nocapture --test-threads=1 - rm -rf ./target/tmp - - name: Install run: cargo install --path=./cargo --debug diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 8f7363bd..567b3e88 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,9 +1,10 @@ name: Update on: - schedule: - - cron: "0 0 * * 1" - push: - branches: [main, master] + workflow_call: + # schedule: + # - cron: "0 0 * * 1" + # push: + # branches: [main, master] env: CARGO_INCREMENTAL: 1