This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
Bump coverlet.collector from 6.0.0 to 6.0.2 in /services/steganography.api #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test steganography.api | |
on: | |
pull_request: | |
branches: | |
- main | |
- staging | |
push: | |
branches: | |
- staging | |
jobs: | |
should_run: | |
uses: JensDll/should-run/.github/workflows/main.yaml@main | |
with: | |
projects: services/steganography.api | |
test: | |
needs: should_run | |
if: fromJSON(needs.should_run.outputs.result)['services/steganography.api'] == 'true' | |
defaults: | |
run: | |
shell: bash | |
working-directory: services/steganography.api | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out the repository | |
uses: actions/checkout@v4.1.1 | |
- name: Setting up dotnet | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: "7.0.4xx" | |
- name: Restoring solution | |
run: dotnet restore | |
- name: Building solution | |
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} | |
- name: Running tests | |
run: dotnet test --no-restore --no-build --configuration ${{ matrix.configuration }} |