Change language not working on linux #44
Workflow file for this run
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: | |
| workflow_call: | |
| pull_request: | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Set timestamp variable | |
| id: timestamp | |
| run: echo "datetime=$(date +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_OUTPUT | |
| # version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 9.0.x | |
| - name: Install wasm-tools | |
| run: dotnet workload install wasm-tools | |
| - name: Build & Install | |
| run: dotnet build | |
| - name: Ensure browsers are installed | |
| run: pwsh AudioCuesheetEditor.End2EndTests/bin/Debug/net9.0/playwright.ps1 install --with-deps | |
| - name: Start App | |
| run: dotnet run --project AudioCuesheetEditor & | |
| - name: Run tests | |
| run: dotnet test | |
| - name: Upload traces | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-traces-${{ steps.timestamp.outputs.datetime }} | |
| path: AudioCuesheetEditor.End2EndTests/bin/Debug/net9.0/playwright-traces/ | |
| if-no-files-found: ignore |