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

NesTiler.git/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-test.yml')
-rw-r--r--.github/workflows/build-test.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index d1645f8..cefa515 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -26,6 +26,7 @@ jobs:
env:
APP_NAME: nestiler
PROJECT_PATH: ./NesTiler
+ TESTS_PATH: ./Tests
OUTPUT_DIR: output
CONFIGURATION: Release
OUTPUT_SUBDIR: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.sc }}
@@ -42,14 +43,12 @@ jobs:
env:
SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }}
run: dotnet publish ${{ env.PROJECT_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} -p:PublishSingleFile=true $SC_OPS -p:IncludeAllContentForSelfExtract=true -o ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }}
- - name: Simple test
+ - name: Tests
if: |
(matrix.host == 'ubuntu-latest' && matrix.os == 'linux' && matrix.arch != 'arm')
|| (matrix.host == 'macos-latest' && matrix.os == 'osx' && matrix.arch != 'arm')
|| (matrix.host == 'windows-latest' && matrix.os == 'win' && matrix.arch != 'arm')
- working-directory: ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }}
- run: |
- ./nestiler --help
+ run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }}
- name: Upload artifact
if: |
(matrix.host == 'ubuntu-latest' && matrix.os == 'linux')