Skip to content

Update run_unit_tests.yml #913

Update run_unit_tests.yml

Update run_unit_tests.yml #913

Workflow file for this run

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/9.0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.101'
- name: Install wasm-tools
run: dotnet workload install wasm-tools
# Only publish when unit tests are ok
- name: Run Unit Tests
run: dotnet test