Skip to content

Commit a61e067

Browse files
committed
Create workflow for executing tests in GitHub Actions
1 parent 032ad3c commit a61e067

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: pqnet-unittest
2+
on:
3+
push:
4+
schedule:
5+
- cron: '45 23 24 * *'
6+
7+
jobs:
8+
pqnet:
9+
runs-on: windows-latest
10+
env:
11+
EXPECT_PASSED_TESTS: 30
12+
PQ: 'C:\Program Files\PowerQueryNet\PQNet.exe'
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: download installers
16+
shell: bash
17+
run: |
18+
curl \
19+
-o PowerQuerySdk.vsix \
20+
-L "http://dakahn.gallery.vsassets.io/_apis/public/gallery/publisher/dakahn/extension/powerquerysdk/1.0.0.16/assetbyname/PowerQuerySdk.vsix"
21+
curl \
22+
-o PowerQueryNet.msi \
23+
-L "https://github.com/gsimardnet/PowerQueryNet/releases/download/v1.1.2/PowerQueryNet.msi"
24+
- name: install packages
25+
run: |
26+
msiexec /i PowerQueryNet.msi /quiet /qn
27+
- run: make verify
28+
working-directory: ./CI

0 commit comments

Comments
 (0)