Skip to content

Commit

Permalink
Ignore Nightly Failures
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Oct 28, 2024
1 parent 26abf71 commit ebd93f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ jobs:
restore-keys: "${{ github.event.repository.name }}-${{ matrix.config.mode }}-build-${{ matrix.swift-image.name }}-${{ runner.os }}-"

- name: Build ${{ github.event.repository.name }}
run: swift build --build-tests -c ${{ matrix.config.mode }} ${{ matrix.config.build_args }}
run:
set ${{ matrix.swift-image.error-sign }}e

swift build --build-tests -c ${{ matrix.config.mode }} ${{ matrix.config.build_args }}

- name: Cache .build
if: steps.restore-cache.outputs.cache-hit != 'true'
Expand All @@ -59,9 +62,7 @@ jobs:
key: "${{ github.event.repository.name }}-${{ matrix.config.mode }}-build-${{ matrix.swift-image.name }}-${{ runner.os }}-${{ hashFiles('./Package.resolved') }}"

- name: Run tests
run:
set ${{ matrix.swift-image.error-sign }}e
swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }}
run: swift test --parallel -c ${{ matrix.config.mode }} ${{ matrix.config.test_args }}

- name: Submit code coverage
if: matrix.config.with_codecov
Expand Down

0 comments on commit ebd93f0

Please sign in to comment.