Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tests.yml « workflows « .github - github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74f002cfb52d01d5500903c0bbb69c06c2c3302d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  workflow_dispatch:

jobs:
  tests:
    strategy:
      matrix:
        host: [windows-latest, ubuntu-latest, macos-latest]
    runs-on: ${{ matrix.host }}
    env:
      TESTS_PATH: ./Tests
      CONFIGURATION: Release
      TESTS_CONFIGURATION: Debug
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Checkout submodules
      run: git submodule update --init --recursive
    - name: Setup .NET
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 6.0.x
    - name: Tests
      run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.TESTS_CONFIGURATION }} -p:PublishSingleFile=true