-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1.32 KB
/
integration_test_multihop.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: integration tests multihop
# Controls when the action will run.
on:
push:
paths:
- 'src/**'
- '!src/tests/**'
- 'integration_test/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '11' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64
- name: set permissions of shell script
run: chmod +x integration_test/multihop/start_integration_test_container.sh
- name: build and run LoRa simuulation node images
run: ./integration_test/multihop/start_integration_test_container.sh
# Runs a single command using the runners shell
- name: run integration test
run: java -jar integration_test/integration_tests.jar