-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.1 KB
/
ci.yaml
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
name: continuous integration
on:
workflow_dispatch:
push:
branches: [develop]
jobs:
build-docker:
runs-on: ubuntu-latest
env:
PYTHONUNBUFFERED: true
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: configure environment
run: |
bash .github/scripts/configure_env.sh
- name: run pytest
env:
SCRIPT: "./tests/test_ivi_client.py"
run: |
bash .github/scripts/run_tests.sh
- name: run python script
env:
SCRIPT: "./tests/example.py"
URL: sdk-api.dev.iviengine.com:443
IVI_SDK_API_KEY: ${{ secrets.IVI_SDK_API_KEY }}
IVI_SDK_ENV_ID: ${{ secrets.IVI_SDK_ENV_ID }}
SLEEP_LOOP_SECONDS: 45
NUM_LOOPS: 12
run: |
bash .github/scripts/run_python.sh