Skip to content

Commit 19d9e06

Browse files
committed
split ci steps and handle failures in a different way
1 parent 31b30b3 commit 19d9e06

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on: [push, pull_request]
55
jobs:
66
build:
77

8-
# FCS tests fail for netfx on macos/ubuntu, so we encode that here.
9-
continue-on-error: ${{ matrix.knownFailure }}
10-
118
strategy:
129
fail-fast: false
1310
matrix:
@@ -31,9 +28,13 @@ jobs:
3128
- name: Restore tools
3229
run: dotnet tool restore
3330
working-directory: ./fcs
34-
- name: Build and test
35-
run: dotnet fake build -t TestAndNuGet
31+
- name: Build
32+
run: dotnet fake build -t Build
33+
working-directory: ./fcs
34+
- name: Test
35+
run: dotnet fake build -s -t Test
3636
working-directory: ./fcs
37+
if: ${{ !matrix.knownFailure }}
3738
- name: Archive code coverage results
3839
uses: actions/upload-artifact@v2
3940
if: always()

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Restore tools
2424
run: dotnet tool restore
2525
working-directory: ./fcs
26-
- name: Build and Test
27-
run: dotnet fake build -t TestAndNuget
26+
- name: Build and package
27+
run: dotnet fake build -t NuGet
2828
working-directory: ./fcs
2929
- name: Validate package bump
3030
run: dotnet fake build -s -t ValidateVersionBump

0 commit comments

Comments
 (0)