Skip to content

Merge branch '4.0.0.0' of https://github.com/Viincenttt/MollieApi int… #522

Merge branch '4.0.0.0' of https://github.com/Viincenttt/MollieApi int…

Merge branch '4.0.0.0' of https://github.com/Viincenttt/MollieApi int… #522

Workflow file for this run

name: Run automated tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build unit test project
run: dotnet build tests/Mollie.Tests.Unit --configuration Release --no-restore
- name: Run unit tests
run: dotnet test tests/Mollie.Tests.Unit --no-restore --verbosity normal
- name: Build integration test project
run: dotnet build tests/Mollie.Tests.Integration --configuration Release --no-restore
- name: Run integration tests
run: dotnet test tests/Mollie.Tests.Integration --filter "TestCategory!=AccessKeyIntegrationTest" --no-restore --verbosity normal
env:
Mollie__ApiKey: ${{ secrets.Mollie__ApiKey }}
Mollie__AccessKey: ${{ secrets.Mollie__AccessKey }}
Mollie__ClientId: ${{ secrets.Mollie__ClientId }}
Mollie__ClientSecret: ${{ secrets.Mollie__ClientSecret }}