From 57db9fe04d0f2a92b791b833e8be2faf253d73c9 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 30 Jan 2022 12:37:15 -0800 Subject: [PATCH] Don't run tests in release workflow (#1080) --- .github/workflows/{test.yaml => ci.yaml} | 2 +- .github/workflows/release.yaml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) rename .github/workflows/{test.yaml => ci.yaml} (99%) diff --git a/.github/workflows/test.yaml b/.github/workflows/ci.yaml similarity index 99% rename from .github/workflows/test.yaml rename to .github/workflows/ci.yaml index 7ae7507..dde458f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Test +name: CI on: pull_request: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6dad55e..c3de411 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,23 +24,18 @@ jobs: include: - target: aarch64-unknown-linux-musl os: ubuntu-latest - native: false target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc' - target: armv7-unknown-linux-musleabihf os: ubuntu-latest - native: false target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc' - target: x86_64-apple-darwin os: macos-latest - native: true target_rustflags: '' - target: x86_64-pc-windows-msvc os: windows-2016 - native: true target_rustflags: '' - target: x86_64-unknown-linux-musl os: ubuntu-latest - native: true target_rustflags: '' runs-on: ${{matrix.os}} @@ -67,10 +62,6 @@ jobs: sudo apt-get update sudo apt-get install gcc-arm-linux-gnueabihf - - name: Test - if: matrix.native - run: cargo test --all --target ${{ matrix.target }} - - name: Ref Type id: ref-type run: cargo run --package ref-type -- --reference ${{ github.ref }}