diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index efeecce71..3cc25f078 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -20,10 +20,7 @@ jobs: with: filters: | src: - - '!web/package.json' - - '!web/package-lock.json' - - '!web/packages/**' - - '!**.md' + - '!(web/package.json|web/package-lock.json|web/packages/**|**.md)' build: needs: changes @@ -94,3 +91,22 @@ jobs: with: name: swf_images path: tests/**/*.png.updated + + check-required: + needs: changes + if: needs.changes.outputs.src == 'false' + name: Test Rust ${{ matrix.rust_version }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + rust_version: [stable] + os: [ubuntu-latest, windows-latest, macOS-latest] + include: + - rust_version: nightly + os: ubuntu-latest + - rust_version: beta + os: ubuntu-latest + + steps: + - name: No-op + run: echo noop diff --git a/.github/workflows/test_web.yml b/.github/workflows/test_web.yml index 483746685..83f27fef7 100644 --- a/.github/workflows/test_web.yml +++ b/.github/workflows/test_web.yml @@ -24,7 +24,7 @@ jobs: build: needs: changes - if: ${{ needs.changes.outputs.src == 'true' }} + if: needs.changes.outputs.src == 'true' name: Test Node.js ${{ matrix.node_version }} / Rust ${{ matrix.rust_version }} / ${{ matrix.os }} runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.rust_version == 'nightly' }} @@ -82,3 +82,20 @@ jobs: - name: Run tests working-directory: web run: npm test + + check-required: + needs: changes + if: needs.changes.outputs.src == 'false' + name: Test Node.js ${{ matrix.node_version }} / Rust ${{ matrix.rust_version }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + node_version: ["12", "14"] + # We most likely don't care about Rust versions here, we'll catch those issues in test_rust.yml. + rust_version: [stable] + # MIKE: Turning off macOS-latest for now (flaky tests on CI). + os: [ubuntu-latest, windows-latest] + + steps: + - name: No-op + run: echo noop