Add Rethink URI, run tests after cd
This commit is contained in:
parent
2fe104f0c1
commit
add6a8086b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -5,6 +5,8 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
env:
|
||||||
|
MWL_TEST_RETHINK_URI: rethinkdb://localhost/mwl_test
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
name: Build / Test
|
name: Build / Test
|
||||||
@ -48,5 +50,5 @@ jobs:
|
|||||||
- name: Build (${{ matrix.dotnet-version }})
|
- name: Build (${{ matrix.dotnet-version }})
|
||||||
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
|
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
|
||||||
- name: Test (${{ 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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user