test and function skeleton for storing pdf files #506
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: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies test | |
run: dotnet restore ZUGFeRD.Test/ZUGFeRD.Test.csproj | |
- name: Build test | |
run: dotnet build ZUGFeRD.Test/ZUGFeRD.Test.csproj --no-restore | |
- name: Actual test | |
run: dotnet test ZUGFeRD.Test/ZUGFeRD.Test.csproj --no-build --verbosity normal | |
- name: Restore library dependencies | |
run: dotnet restore ZUGFeRD/ZUGFeRD.csproj | |
- name: Build library | |
run: dotnet build ZUGFeRD/ZUGFeRD.csproj --no-restore |