Only apply the default for app_src of erlang_app_sources if unset #11
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: Examples | |
on: | |
push: | |
branches: | |
- main | |
- 3.15.x | |
- 3.16.x | |
- bump-rbe | |
pull_request: | |
jobs: | |
examples-basic: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: | |
- "26.2" | |
steps: | |
- name: CHECKOUT | |
uses: actions/checkout@v4 | |
- name: CONFIGURE ERLANG | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp }} | |
- name: TEST | |
working-directory: examples/basic | |
run: | | |
bazelisk test //... \ | |
--color=yes | |
- name: RESOVLE TEST LOGS PATH | |
if: always() | |
working-directory: examples/basic | |
run: | | |
echo "LOGS_PATH=$(readlink -f bazel-testlogs)" >> $GITHUB_OUTPUT | |
id: resolve-test-logs-path | |
- name: CAPTURE TEST LOGS | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bazel-testlogs-examples-basic-${{matrix.otp}} | |
path: ${{ steps.resolve-test-logs-path.outputs.LOGS_PATH }}/* |