Skip to content

Commit

Permalink
ws: added build of bunit composite project
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Apr 18, 2021
1 parent bc421ce commit c2014ce
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
workflow_dispatch:

jobs:
verify:
verify-bunit:
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,18 +52,16 @@ jobs:
run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org --configfile $env:APPDATA\NuGet\NuGet.Config
continue-on-error: true

- name: 🔁 Restore packages
run: dotnet restore

- name: 🛠️ Building library in release mode
run: dotnet build -c release --no-restore -p:ContinuousIntegrationBuild=true
run: dotnet build -c release -p:ContinuousIntegrationBuild=true

- name: 🧪 Run unit tests
run: dotnet test -c release --no-build

- name: 🗳️ Create library packages
run: |
dotnet pack -c release --no-build -o ${GITHUB_WORKSPACE}/packages
dotnet pack src/bunit/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
dotnet pack -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
dotnet pack src/bunit.template/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
- name: ✔ Verify template
Expand Down

0 comments on commit c2014ce

Please sign in to comment.