forked from opendatahub-io/data-science-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 856 Bytes
/
Copy pathpresubmit-backend.yml
File metadata and controls
43 lines (36 loc) · 856 Bytes
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
name: KFP Backend Tests
on:
push:
branches:
- master
- main
- stable
- 'rhoai-*'
pull_request:
branches:
- master
- main
- stable
- 'rhoai-*'
paths:
- 'backend/**'
- 'test/presubmit-backend-test.sh'
- '!**/*.md'
- '!**/OWNERS'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
backend-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: ./.github/actions/setup-go
- name: Run Backend Tests
env:
GIT_BRANCH: ${{ github.head_ref || github.ref_name }}
GIT_REPO: ${{ github.event.pull_request.head.repo.full_name }}
run: |
./test/presubmit-backend-test.sh