Add rebar3_ex_doc as a project plugin #46
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 ] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: OTP ${{matrix.otp}} | |
strategy: | |
matrix: | |
otp: ['25.0', '24.3', '23.3', '22.3', '21.3'] | |
runs-on: 'ubuntu-20.04' | |
env: | |
OTPVER: ${{ matrix.otp }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ErlGang/[email protected] | |
with: | |
otp-version: ${{ matrix.otp }} | |
- run: make rebar3 | |
- run: make deps | |
- run: make test | |
- run: make dialyzer | |
if: ${{ matrix.otp == '25.0' }} | |
- run: make codecov | |
if: ${{ matrix.otp == '25.0' }} | |
- run: make gcov | |
if: ${{ matrix.otp == '25.0' }} | |
- run: pip install --user codecov | |
if: ${{ matrix.otp == '25.0' }} | |
- run: /home/runner/.local/bin/codecov | |
if: ${{ matrix.otp == '25.0' }} |