Cosmetics changes to improve readability, types, and upgrades #314
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: ${{ matrix.test-type }} test on OTP ${{matrix.otp_vsn}} | |
strategy: | |
matrix: | |
otp_vsn: ['27', '26', '25'] | |
rebar_vsn: ['3.23.0'] | |
test-type: ['regular', 'integration'] | |
runs-on: 'ubuntu-24.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 }} |