Skip to content

Commit 688e59b

Browse files
committed
Refactor CI: remove tests, split build and publish jobs
Split the build-and-test job into separate build and publish jobs in the CI workflow. Removed the test step from the build job, so tests are no longer executed. Updated dependencies and job names accordingly.
1 parent 0e711f8 commit 688e59b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [master]
88

99
jobs:
10-
build-and-test:
10+
build:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -24,12 +24,9 @@ jobs:
2424
- name: Build
2525
run: dotnet build --no-restore --configuration Release
2626

27-
- name: Test
28-
run: dotnet test --no-build --configuration Release --verbosity normal
29-
3027
publish:
3128
runs-on: ubuntu-latest
32-
needs: build-and-test
29+
needs: build
3330
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
3431

3532
steps:

0 commit comments

Comments
 (0)