Skip to content

Added Game of Life to benchmarks #5516

Added Game of Life to benchmarks

Added Game of Life to benchmarks #5516

Workflow file for this run

name: 'Run tests'
on:
workflow_dispatch:
push:
paths:
- 'src/**'
pull_request:
paths:
- 'src/**'
env:
DOTNET_VERSION: '7.0.x' # The .NET SDK version to use
CONFIGURATION: 'Release' # The configuration to use
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
tests:
name: tests-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 18
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build and test
run: |
dotnet restore ./src
dotnet build ./src --configuration ${{ env.CONFIGURATION }} --no-restore
dotnet test ./src --no-build