Increase version number to 3.1.0.0 (#324) #367
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: 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: '7.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 }} |