This repository was archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.32 KB
/
Copy pathlinux-test.yml
File metadata and controls
44 lines (37 loc) · 1.32 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: Linux Tests
on:
pull_request:
branches:
- trunk
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Dev-Loop
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl)
- name: Execute lint
run: ./scratch/dl exec lint all
unit-test:
name: Unit Test Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Dev-Loop
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl)
- name: Execute unit tests
run: ./scratch/dl exec test
build-and-test-release:
name: Build and Validate Release Binary
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v2
- name: Setup Dev-Loop
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl)
- name: Build DL Release
run: ./scratch/dl exec build dl-release
- name: Validate DL Release
run: (cd ./e2e/linux-e2e/ && DL_COMMAND="../../target/dl-release" ./run-all-tests.sh)