mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-22 21:54:07 +00:00
ci: ignore errors on the nightly toolchain
This commit is contained in:
1 parent
649e5cd645
commit
292c4e671c
1 file changed
+9
-2
@@ -211,8 +211,6 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
continue-on-error: "${{ matrix.toolchain == 'beta' || matrix.toolchain == 'nightly' }}"
|
||||
|
||||
strategy:
|
||||
fail-fast: false # Continue other jobs if one fails to help filling the cache
|
||||
matrix:
|
||||
@@ -262,11 +260,20 @@ jobs:
|
||||
key: ${{ runner.os }}-cargo-build-${{ steps.toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Test
|
||||
id: test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --offline --workspace
|
||||
|
||||
# Ignore errors on the nightly toolchain
|
||||
continue-on-error: "${{ matrix.toolchain == 'nightly' }}"
|
||||
|
||||
- name: Emit error annotation on failures
|
||||
if: steps.test.outcome == 'failure'
|
||||
run: |
|
||||
echo "::error ::Test suite failed on ${{ matrix.toolchain }} toolchain"
|
||||
|
||||
|
||||
coverage:
|
||||
name: Code coverage
|
||||
|
||||
Reference in new issue
Block a user