Skip to content

Commit

Permalink
Fix double runs in CI (#326)
Browse files Browse the repository at this point in the history
* fix double runs and add nightly
  • Loading branch information
realFlowControl authored Oct 16, 2024
1 parent 7882d53 commit 65cff10
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 9 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/asan.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: ASAN
on: [push, pull_request]

on:
pull_request: null
push:
branches:
- master
- develop
- release
schedule:
- cron: "30 4 * * *"

jobs:
auth:
runs-on: ubuntu-latest
Expand All @@ -21,7 +31,7 @@ jobs:
name: ASAN, PHP v${{matrix.version}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-asan-${{matrix.version}} docker/parallel.test --asan
opcache:
Expand All @@ -34,7 +44,7 @@ jobs:
name: ASAN, PHP v${{matrix.version}}, opcache
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-asan-${{matrix.version}} docker/parallel.test -d opcache.enable_cli=1 -d opcache.jit=disable --asan
jit:
Expand All @@ -47,6 +57,6 @@ jobs:
name: ASAN, PHP v${{matrix.version}}, JIT
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-asan-${{matrix.version}} docker/parallel.test -d opcache.enable_cli=1 -d opcache.jit=function -d opcache.jit_buffer_size=32M --asan
18 changes: 14 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: Linux
on: [push, pull_request]

on:
pull_request: null
push:
branches:
- master
- develop
- release
schedule:
- cron: "30 4 * * *"

env:
NODE_COVERALLS_DEBUG: true
jobs:
Expand All @@ -24,7 +34,7 @@ jobs:
name: Linux, PHP v${{matrix.version}}, ${{matrix.build}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-${{matrix.build}}-${{matrix.version}} docker/parallel.test
- name: Send Coverage
Expand All @@ -46,7 +56,7 @@ jobs:
name: Linux, PHP v${{matrix.version}}, ${{matrix.build}}, opcache
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-${{matrix.build}}-${{matrix.version}} docker/parallel.test -d opcache.enable_cli=1 -d opcache.jit=disable
- name: Build Coveralls
Expand All @@ -68,7 +78,7 @@ jobs:
name: Linux, PHP v${{matrix.version}}, ${{matrix.build}}, JIT
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test parallel
run: docker compose run parallel-${{matrix.build}}-${{matrix.version}} docker/parallel.test -d opcache.enable_cli=1 -d opcache.jit=function -d opcache.jit_buffer_size=32M
- name: Build Coveralls
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: Windows
on: [push, pull_request]

on:
pull_request: null
push:
branches:
- master
- develop
- release
schedule:
- cron: "30 4 * * *"

jobs:
build:
defaults:
Expand Down

0 comments on commit 65cff10

Please sign in to comment.