Add "Renderer Backends" documentation and integrate ESC/POS backend d… #8
This file contains hidden or 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 Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| push: | |
| branches: | |
| - master | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| DOTNET_VERSION: 10.0.x | |
| CONFIGURATION: Release | |
| SOLUTION_FILE: X39.Solutions.PdfTemplate.sln | |
| jobs: | |
| test: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: Restore dependencies | |
| run: dotnet restore "$SOLUTION_FILE" | |
| - name: Build | |
| run: dotnet build "$SOLUTION_FILE" --configuration "$CONFIGURATION" --no-restore | |
| - name: Test | |
| run: dotnet test "$SOLUTION_FILE" --configuration "$CONFIGURATION" --no-build --framework net10.0 --verbosity normal |