Skip to content

Commit

Permalink
Temoporary run nightly.yml workflow on push
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Aug 31, 2023
1 parent 5dacd19 commit 134a6e1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/nightly_matrix.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

const BRANCHES = ['master', 'PHP-8.3', 'PHP-8.2', 'PHP-8.1', 'PHP-8.0'];
//const BRANCHES = ['master', 'PHP-8.3', 'PHP-8.2', 'PHP-8.1', 'PHP-8.0'];
const BRANCHES = ['php-ir-test'];

function get_branch_commit_cache_file_path(): string {
return dirname(__DIR__) . '/branch-commit-cache.json';
Expand Down
32 changes: 25 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
name: Nightly
#name: Nightly
#on:
# schedule:
# - cron: "0 1 * * *"
# workflow_dispatch: ~
#permissions:
# contents: read
name: PHP_IR_TEST
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch: ~
push:
paths-ignore:
- docs/*
- NEWS
- UPGRADING
- UPGRADING.INTERNALS
- '**/README.*'
- CONTRIBUTING.md
- CODING_STANDARDS.md
branches:
- php-ir-test
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.url || github.run_id }}
cancel-in-progress: true
jobs:
GENERATE_MATRIX:
name: Generate Matrix
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
#if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
branches: ${{ steps.set-matrix.outputs.branches }}
Expand Down Expand Up @@ -289,7 +307,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
COVERAGE_DEBUG_NTS:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
#if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
services:
postgres:
image: postgres
Expand Down Expand Up @@ -744,7 +762,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
PECL:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
#if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-22.04
env:
CC: ccache gcc
Expand Down

0 comments on commit 134a6e1

Please sign in to comment.