-
Notifications
You must be signed in to change notification settings - Fork 10
50 lines (38 loc) · 1.28 KB
/
test.yml
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
47
48
49
50
name: Test Meza
on:
push:
branches:
jobs:
test:
strategy:
fail-fast: false
matrix:
test_type:
- monolith-from-scratch
- monolith-from-import
- import-from-remote
- backup-to-remote
- import-from-alt-remote
runs-on: ubuntu-latest
steps:
- name: Context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@master
- name: apt-get update
run: sudo apt-get update
- name: install prereqs
run: sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- name: get key
run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- name: fingerprint
run: sudo apt-key fingerprint 0EBFCD88
- name: Get docker repo
run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- name: apt-get update again
run: sudo apt-get update
- name: Install docker
run: sudo apt-get install docker-ce docker-ce-cli containerd.io
- name: run test
run: sudo bash ./tests/docker/run-tests.sh ${{ matrix.test_type }} ${PWD}