Merge pull request #132 from zhongwencool/v1.8.8 #150
This file contains hidden or 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: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - otp: '29' | |
| rebar3: '3.26' | |
| - otp: '28' | |
| rebar3: '3.24' | |
| - otp: '27' | |
| rebar3: '3.22' | |
| - otp: '26' | |
| rebar3: '3.22' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| rebar3-version: ${{matrix.rebar3}} | |
| - name: quality checks | |
| run: rebar3 check | |
| - name: test coverage | |
| run: | | |
| epmd -daemon | |
| rebar3 as test do eunit, covertool generate | |
| - name: Upload coverage reports to Codecov | |
| if: matrix.otp == '29' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: zhongwencool/observer_cli | |
| files: _build/test/covertool/*.covertool.xml |