forked from conductor-oss/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 964 Bytes
/
pull_request.yml
File metadata and controls
39 lines (37 loc) · 964 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
name: Continuous Integration
on: pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Lint
run: >
DOCKER_BUILDKIT=1 docker build .
--progress=plain
--target=lint
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: >
DOCKER_BUILDKIT=1 docker build .
--progress=plain
--target=unit_test
integration-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: >
DOCKER_BUILDKIT=1 docker build
--progress=plain
--build-arg KEY=${{ secrets.KEY }}
--build-arg SECRET=${{ secrets.SECRET }}
--build-arg CONDUCTOR_SERVER_URL=${{ secrets.CONDUCTOR_SERVER_URL }}
--target=test
.