chore: debug CI issues #232
Workflow file for this run
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: Run tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run_common_test: | |
| strategy: | |
| matrix: | |
| include: | |
| - otp_release: 26 | |
| send_coveralls: false | |
| - otp_release: 27 | |
| send_coveralls: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{ matrix.otp_release }} | |
| - name: check formatting | |
| run: | | |
| make fmt-check | |
| - name: stop containers | |
| run: | | |
| docker rm -f $(docker ps -qa) || true | |
| docker network rm $(docker network ls -q) || true | |
| - name: docker compose up | |
| run: | | |
| make -C ./.ci up | |
| - name: run common test & cover | |
| run: | | |
| make cover | |
| - name: run xref | |
| run: | | |
| make xref | |
| - name: run dialyzer | |
| run: | | |
| make dialyzer | |
| - name: docker compose down | |
| run: | | |
| make -C ./.ci down | |
| - name: send coveralls | |
| if: matrix.send_coveralls == true | |
| env: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| make coveralls |