Skip to content

Commit a045fdd

Browse files
committed
2 parents 9843351 + ddc0cc0 commit a045fdd

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 5.0.x
19+
dotnet-version: 6.0.x
2020
- name: Restore dependencies
21-
run: dotnet restore
21+
run: dotnet restore "src/Apache.IoTDB/Apache.IoTDB.csproj"
2222
- name: Build
23-
run: dotnet build --no-restore
23+
run: dotnet build --no-restore "src/Apache.IoTDB/Apache.IoTDB.csproj"
2424
- name: Test
25-
run: dotnet test --no-build --verbosity normal
25+
run: dotnet test --no-build --verbosity normal "tests/Apache.IoTDB.Tests/Apache.IoTDB.Tests.csproj"

.github/workflows/e2e.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,10 @@ jobs:
1919
- name: Check out code into the CSharp module directory
2020
uses: actions/checkout@v2
2121

22-
- name: Cache local Maven repository
23-
uses: actions/cache@v2
24-
with:
25-
path: ~/.m2/repository
26-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27-
restore-keys: |
28-
${{ runner.os }}-maven-
29-
30-
- name: Set Up IoTDB
31-
run: |
32-
sh -c "cd /tmp/ && rm -rf iotdb && git clone https://github.com/apache/iotdb.git && cd iotdb && mvn -Dmaven.test.skip=true package -am -pl server"
33-
mkdir -p target/iotdb
34-
unzip -o -q /tmp/iotdb/server/target/iotdb-server-*.zip -d target/iotdb
35-
3622
- name: Set Docker & Run Test
3723
run: |
38-
docker-compose -f samples/Apache.IoTDB.Samples/docker-compose.yml up --build --abort-on-container-exit --remove-orphans
24+
docker-compose -f docker-compose.yml up --build --abort-on-container-exit --remove-orphans
3925
4026
- name: Clean IoTDB & Shut Down Docker
4127
run: |
42-
rm -rf /tmp/iotdb target
43-
docker-compose -f samples/Apache.IoTDB.Samples/docker-compose.yml down
28+
docker-compose -f docker-compose.yml down

0 commit comments

Comments
 (0)