dev: have required builds 'run' (#5332)
* dev: have required builds 'run' * dev: remove unnecessary fields * dev: do less in the no-op step
This commit is contained in:
parent
898d8df9a8
commit
7f09e751a1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue