Browse Source

Skip failing build entirely

Sam Clements 3 years ago
parent
commit
9b5ecc2d93
1 changed files with 11 additions and 11 deletions
  1. 11 11
      .github/workflows/ci.yml

+ 11 - 11
.github/workflows/ci.yml

@@ -32,7 +32,7 @@ jobs:
   rust-test:
     runs-on: ${{ matrix.os }}
 
-    continue-on-error: ${{ matrix.toolchain != 'stable' || (matrix.os == 'macos-latest' && contains(matrix.features, 'timestamps')) }}
+    continue-on-error: ${{ matrix.toolchain != 'stable' }}
 
     strategy:
       matrix:
@@ -47,17 +47,17 @@ jobs:
           - "threads"
           - "timestamps"
           - "stderr"
+        exclude:
+          - os: macos-latest
+            toolchain: stable
+            features: "timestamps"
         include:
-          - {
-              os: ubuntu-latest,
-              toolchain: beta,
-              features: "colors,threads,timestamps",
-            }
-          - {
-              os: ubuntu-latest,
-              toolchain: nightly,
-              features: "colors,threads,timestamps,nightly",
-            }
+          - os: ubuntu-latest
+            toolchain: beta
+            features: "colors,threads,timestamps"
+          - os: ubuntu-latest
+            toolchain: nightly
+            features: "colors,threads,timestamps,nightly"
 
     steps:
       - uses: actions/checkout@v2