forked from redis/docker-library-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.21 KB
/
Copy pathpull-request.yml
File metadata and controls
44 lines (40 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Pull Request Build and Test
on:
pull_request:
branches:
- master
- release/*
- unstable
jobs:
validate-dockerfiles-synced:
name: Validate Dockerfiles Synced
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Validate Dockerfiles are synced with templates
uses: ./.github/actions/validate-dockerfiles-synced
build-and-test:
needs: validate-dockerfiles-synced
uses: ./.github/workflows/build-n-test.yml
if: github.event_name == 'pull_request' && github.base_ref != 'unstable'
secrets: inherit
with:
release_tag: ''
publish_image: false
run_type: pr
modules_enabled: ${{ !startsWith(github.base_ref, 'release/7.') }}
build-and-test-unstable:
needs: validate-dockerfiles-synced
uses: ./.github/workflows/build-n-test.yml
if: github.event_name == 'pull_request' && github.base_ref == 'unstable'
secrets: inherit
with:
release_tag: unstable
publish_image: false
redisearch_version: master
redisjson_version: master
redisbloom_version: master
redistimeseries_version: master
run_type: unstable
modules_enabled: true