Merge pull request #183 from esl/coordinator/arbitrary_names #287
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: ${{ matrix.test-type }} test on OTP ${{matrix.otp_vsn}} | |
strategy: | |
matrix: | |
otp_vsn: ['26.2', '25.3', '24.3'] | |
rebar_vsn: ['3.22.0'] | |
test-type: ['regular', 'integration'] | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp_vsn }} | |
rebar3-version: ${{ matrix.rebar_vsn }} | |
- if: matrix.test-type == 'regular' | |
run: make test | |
- if: matrix.test-type == 'regular' | |
name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- if: matrix.test-type == 'integration' | |
run: make integration_test | |
env: | |
OTP_RELEASE: ${{ matrix.otp_vsn }} |