Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit cc027be

Browse files
authored
Merge pull request #45 from IharYakimush/workflow
actions
2 parents f7a6c9a + df90bd9 commit cc027be

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14-
steps:
14+
steps:
15+
- name: Set Timezone
16+
uses: szenius/[email protected]
17+
with:
18+
timezoneLinux: "Asia/Singapore"
19+
timezoneMacos: "Asia/Singapore"
20+
timezoneWindows: "Singapore Standard Time"
1521
- uses: actions/checkout@v3
1622
- name: Setup .NET
1723
uses: actions/setup-dotnet@v2
@@ -20,6 +26,6 @@ jobs:
2026
- name: Restore dependencies
2127
run: dotnet restore
2228
- name: Build
23-
run: dotnet build --no-restore
29+
run: dotnet build --no-restore --configuration Debug
2430
- name: Test
25-
run: dotnet test Community.Data.OData.Linq.xTests --no-build --verbosity normal
31+
run: dotnet test Community.Data.OData.Linq.xTests --no-build --verbosity normal --configuration Debug

Community.Data.OData.Linq.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1111
ProjectSection(SolutionItems) = preProject
1212
build.ps1 = build.ps1
1313
docker-compose.yml = docker-compose.yml
14+
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
1415
LICENSE = LICENSE
1516
localEnv.ps1 = localEnv.ps1
1617
pack.ps1 = pack.ps1
@@ -32,7 +33,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Community.OData.Linq.SolrNe
3233
EndProject
3334
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Comminuty.OData.CosmosDbTests", "Comminuty.OData.CosmosDbTests\Comminuty.OData.CosmosDbTests.csproj", "{893FED48-4BB6-436A-A55B-E9C0F0B4B9E2}"
3435
EndProject
35-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmark", "Benchmark\Benchmark.csproj", "{3E18F5C4-832E-49DC-BF5B-37777F8FC0A6}"
36+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Benchmark", "Benchmark\Benchmark.csproj", "{3E18F5C4-832E-49DC-BF5B-37777F8FC0A6}"
3637
EndProject
3738
Global
3839
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Community.Data.OData.Linq.xTests/DateTimeFilterTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
using Community.OData.Linq.xTests.SampleData;
22

33
using System;
4-
using System.Collections.Generic;
54
using System.Linq;
6-
using System.Text;
7-
using System.Threading.Tasks;
85

96
using Xunit;
107
using Xunit.Abstractions;

tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
dotnet test -f net6.0
1+
dotnet restore
2+
dotnet build --no-restore --configuration Debug
3+
dotnet test Community.Data.OData.Linq.xTests -f net6.0 --no-build --verbosity normal --configuration Debug

0 commit comments

Comments
 (0)