Skip to content

Commit 8e347af

Browse files
committed
Enable dotnet test in GH action, removed npm script ref
1 parent 89c38a0 commit 8e347af

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ jobs:
1414
uses: actions/setup-node@v2.1.2
1515
with:
1616
node-version: 14.x
17-
18-
- name: GitHub context (actor and head ref)
19-
run: |
20-
echo ${{ github.actor }}
21-
echo ${{ github.head_ref }}
17+
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1.7.2
2220

2321
- name: Install NPM modules
2422
run: npm ci
2523
working-directory: ./tools
2624

25+
- name: Deployments Schema tests
26+
run: dotnet test deploymentsSchemaTests/deploymentsSchemaTests.csproj
27+
working-directory: ./tools
28+
2729
- name: Run CI tests
2830
run: npm test
2931
working-directory: ./tools

tools/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"author": "Dan Schulte",
66
"license": "MIT",
77
"scripts": {
8-
"deployments-schema-test": "dotnet test deploymentsSchemaTests/deploymentsSchemaTests.csproj",
98
"test": "mocha -r ts-node/register tests.ts",
109
"serve": "ts-node server.ts"
1110
},

0 commit comments

Comments
 (0)