Skip to content

Commit

Permalink
TESTING 1-2-3
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 27, 2024
1 parent 3924468 commit 728a47a
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,21 @@ on:
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' && github.ref_name != '4.0' }}
cancel-in-progress: ${{ github.ref_name != 'master' && github.ref_name != '4.0' && github.ref_name != 'testmain' }}

jobs:
dump_contexts_to_log:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"

build:
runs-on: ubuntu-latest
name: "Build Phar on PHP: 8.0"
Expand Down Expand Up @@ -256,8 +268,8 @@ jobs:
shell: bash
run: |
# Set the "short_open_tag" ini to make sure specific conditions are tested.
if [[ ${{ matrix.custom_ini }} == true && "${{ matrix.php }}" == '7.2' ]]; then
echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
if [[ ${{ matrix.custom_ini }} == true && "${{ matrix.php }}" == '7.2' ]]; then
echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
fi
- name: Install PHP
Expand Down

0 comments on commit 728a47a

Please sign in to comment.