Skip to content

Commit 275c21c

Browse files
committed
Add Github Action
1 parent fbbc6f6 commit 275c21c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test-postgres.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
branches: [ master-servicetitan ]
55
env:
6+
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
67
DO_CONFIG_FILE: "/tmp/do-test.cfg"
78
DO_STORAGE: "pgsql160"
89
DO_TargetFrameworks: net8.0
@@ -12,12 +13,13 @@ jobs:
1213
runs-on: ubuntu-latest
1314
timeout-minutes: 120
1415
steps:
15-
- uses: ikalnytskyi/action-setup-postgres@v6
16+
- uses: actions/checkout@v4
1617
- name: Setup .NET
17-
uses: actions/setup-dotnet@v3
18+
uses: actions/setup-dotnet@v4
1819
with: { dotnet-version: 8 }
1920
- name: Build
2021
run: dotnet build -v q Orm.sln
22+
- uses: ikalnytskyi/action-setup-postgres@v6
2123
- name: Init Test DB
2224
run: |
2325
echo 127.0.0.1 pghost >>/etc/hosts
@@ -27,6 +29,5 @@ jobs:
2729
- name: Create DO Tests Config file
2830
run: echo default=postgresql://dotest:dotest@localhost/dotest >$DO_CONFIG_FILE
2931
- name: Tests
30-
run: dotnet test --no-build -v n Orm/Xtensive.Orm.Tests/Xtensive.Orm.Tests.csproj --filter 'TestCategory!=Mute'
31-
32+
run: dotnet test --no-build -v n Orm/Xtensive.Orm.Tests.Sql/Xtensive.Orm.Tests.Sql.csproj --filter 'TestCategory!=Mute'
3233

0 commit comments

Comments
 (0)