Skip to content

Commit

Permalink
Added a flag to check for additional tests
Browse files Browse the repository at this point in the history
Signed-off-by: Madelyn Olson <[email protected]>
  • Loading branch information
madolson committed Jul 22, 2024
1 parent 14e09e9 commit e5a88c0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
# any PR to a release branch.
- "[0-9].[0-9]"
types: [labeled]
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
Expand Down Expand Up @@ -36,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'ubuntu')
!contains(github.event.inputs.skipjobs, 'ubuntu') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'fortify')
!contains(github.event.inputs.skipjobs, 'fortify') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
container: ubuntu:lunar
timeout-minutes: 14400
steps:
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'malloc')
!contains(github.event.inputs.skipjobs, 'malloc') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -163,7 +164,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'malloc')
!contains(github.event.inputs.skipjobs, 'malloc') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -247,7 +248,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'tls')
!contains(github.event.inputs.skipjobs, 'tls') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -335,7 +336,7 @@ jobs:
runs-on: ubuntu-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'iothreads')
!contains(github.event.inputs.skipjobs, 'iothreads') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -670,7 +671,7 @@ jobs:
test-rpm-distros-jemalloc:
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'rpm-distros')
!contains(github.event.inputs.skipjobs, 'rpm-distros') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -734,7 +735,7 @@ jobs:
test-rpm-distros-tls-module:
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'tls')
!contains(github.event.inputs.skipjobs, 'tls') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -875,7 +876,7 @@ jobs:
runs-on: macos-latest
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'macos') && !(contains(github.event.inputs.skiptests, 'valkey') && contains(github.event.inputs.skiptests, 'modules'))
!contains(github.event.inputs.skipjobs, 'macos') && !(contains(github.event.inputs.skiptests, 'valkey') && contains(github.event.inputs.skiptests, 'modules')) || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down Expand Up @@ -985,7 +986,7 @@ jobs:
runs-on: macos-12
if: |
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) &&
!contains(github.event.inputs.skipjobs, 'freebsd')
!contains(github.event.inputs.skipjobs, 'freebsd') || contains(github.event.issue.labels.*.name, 'run-extra-tests')
timeout-minutes: 14400
steps:
- name: prep
Expand Down

0 comments on commit e5a88c0

Please sign in to comment.