Add Rethink URI, run tests after cd

This commit is contained in:
Daniel J. Summers 2024-03-23 19:01:35 -04:00
parent 2fe104f0c1
commit add6a8086b

View File

@ -5,6 +5,8 @@ on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
MWL_TEST_RETHINK_URI: rethinkdb://localhost/mwl_test
jobs:
build_and_test:
name: Build / Test
@ -48,5 +50,5 @@ jobs:
- name: Build (${{ matrix.dotnet-version }})
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
- name: Test (${{ matrix.dotnet-version }})
run: dotnet run --project src/MyWebLog.Tests/MyWebLog.Tests.fsproj -f net${{ matrix.dotnet-version }}
run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }}