blob: 7284c6d7d5025c2cf1638a20430c9bd765ca84ca (
plain)
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
37
38
39
40
41
42
|
name: system-test-workflow
on:
workflow_dispatch:
branches: [ main ]
workflow_run:
workflows: ["integration-test-workflow"]
branches: [main]
types:
- completed
env:
CARGO_TERM_COLOR: always
jobs:
system-test:
runs-on: [self-hosted, Linux, ARM]
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: checkout
uses: actions/checkout@v2
- name: Run all Tests
run: bash ./ci/ci_run_all_tests.sh
env:
C8YPASS: ${{ secrets.SECRET_C8YPASS }}
C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }}
C8YDEVICE: ${{ secrets.SECRET_C8YDEVICE }}
C8YTENANT: ${{secrets.SECRET_C8YTENANT}}
C8YURL: https://thin-edge-io.eu-latest.cumulocity.com
TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/
EXAMPLEDIR: /home/pi
- name: upload results as zip
# https://github.com/marketplace/actions/upload-a-build-artifact
uses: actions/upload-artifact@v2
with:
name: results
path: tests/
|