Bump the github-actions group across 1 directory with 2 updates (#66) #77
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_call: ~ | |
permissions: | |
contents: read | |
jobs: | |
sanity-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: elastic/apm-pipeline-library/.github/actions/pre-commit@current | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
php-image: | |
- 8.1-alpine | |
- 8.2-alpine | |
runs-on: ubuntu-latest | |
container: php:${{ matrix.php-image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Append PATH | |
run: echo "${GITHUB_WORKSPACE}" >> $GITHUB_PATH | |
- name: Install composer | |
run: .ci/scripts/install-composer.sh | |
- name: Install dependencies | |
run: composer --no-progress install | |
- name: Run tests | |
env: | |
VERSION: ${{ matrix.php-image }} | |
run: composer test | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: junit-*.xml |