-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (35 loc) · 890 Bytes
/
Copy pathtest.yml
File metadata and controls
46 lines (35 loc) · 890 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
44
45
46
name: service CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx (Ubuntu)
uses: docker/setup-buildx-action@v1
- name: Set up QEMU (Ubuntu)
uses: docker/setup-qemu-action@v1
- name: Install Docker Compose (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Check Docker version
run: docker --version
- name: Check Docker Compose version
run: docker-compose --version
- name: Run Makefile setup target
run: make setup
- name: Run Makefile build target
run: make build
- name: Run Makefile tests target
run: make tests