Skip to content

feat(#13): Add priority for tasks execution #34

feat(#13): Add priority for tasks execution

feat(#13): Add priority for tasks execution #34

Workflow file for this run

name: ci
on:
push:
branches:
- '*'
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
include:
- image: erlang:24
- image: erlang:25
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
options: "--entrypoint /bin/bash"
steps:
# Setup
- name: Checkout
uses: actions/checkout@v3
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
# Inspect rebar3 version
- name: Rebar version
run: rebar3 --version
# PRE Checks
- name: Checks
run: rebar3 check
# Compile
- name: Compile
run: rebar3 compile
# Tests
- name: Run tests
run: rebar3 test_ci
- name: Store test logs
uses: actions/upload-artifact@v1
if: always()
with:
name: ct-logs
path: _build/test/logs
# Cover reports
- name: Create Cover Reports
run: rebar3 cover
- name: Publish Test Report
uses: nomasystems/action-junit-report@v2
with:
report_paths: '_build/test/logs/**/report.xml'