Use amoc telemetry events to do logging #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: OTP ${{matrix.otp}} | |
strategy: | |
matrix: | |
otp: ['26.2', '25.3', '24.3'] | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp }} | |
rebar3-version: '3.22.0' | |
- name: Run tests project | |
run: rebar3 test | |
integration_test: | |
name: docker container test with OTP ${{matrix.otp}} | |
strategy: | |
matrix: | |
otp: ['26.2', '25.3', '24.3'] | |
runs-on: 'ubuntu-22.04' | |
env: | |
OTP_RELEASE: ${{ matrix.otp }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp }} | |
rebar3-version: '3.22.0' | |
- run: ./ci/build_docker_image.sh | |
- run: ./ci/start_demo_cluster.sh | |
- run: ./ci/test_amoc_cluster.sh | |
- run: ./ci/test_distribute_scenario.sh | |
- run: ./ci/test_run_scenario.sh | |
- run: ./ci/test_add_new_node.sh | |
- run: ./ci/stop_demo_cluster.sh |