Update run_unit_tests.yml #531
Workflow file for this run
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 unit tests | |
# Run workflow on every push to the master branch | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-unit-tests: | |
# use ubuntu-latest image to run steps on | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# sets up .NET | |
# version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.101' | |
- name: Install wasm-tools | |
run: dotnet workload install wasm-tools-net7 | |
# Only publish when unit tests are ok | |
- name: Run Unit Tests | |
run: dotnet test |