-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (29 loc) · 907 Bytes
/
asa-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'Azure Stream Analytics CI Tests'
on:
push:
branches:
- main
jobs:
build:
name: 'Test ASA'
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '15.x'
# Install azure-streamanalytics-cicd
- name: Install dependencies
run: sudo npm install -g azure-streamanalytics-cicd --unsafe-perm=true --allow-root
# Run tests
- name: Run ASA Tests
run: sudo azure-streamanalytics-cicd test -project stream-analytics/asaproj.json -testConfigPath stream-analytics/test/testConfig.json
# Archive test results
- name: Archive test results
uses: actions/upload-artifact@v2
with:
name: tests-report
path: testResultSummary.json