-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (29 loc) · 1004 Bytes
/
build.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
name: Build and test project
on: [ push ]
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/[email protected]
with:
poetry-version: 1.2.0
- name: Install Lua environment
run: ./scripts/install_lua_environment.sh
- name: Poetry install
run: ./scripts/run_in_dev_env.sh poetry install
- name: Run Lua unit tests and static code analyzer
run: ./scripts/run_in_dev_env.sh ./scripts/lua_tests.sh
- name: Build language container
run: ./build_language_container.sh
- name: Start test environment
run: bash ./scripts/start_integration_test_environment.sh
- name: Run Python tests
run: ./scripts/run_in_dev_env.sh poetry run pytest tests