-
Notifications
You must be signed in to change notification settings - Fork 0
89 lines (76 loc) · 1.79 KB
/
Copy pathrun-tests.yml
File metadata and controls
89 lines (76 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Run Tests
on: [push, pull_request]
jobs:
run-pg-tests:
runs-on: ubuntu-latest
strategy:
matrix:
postgres_version: [
"9-alpine",
"10-alpine",
"11-alpine",
"12-alpine",
"13-alpine"
]
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Build & test postgres
env:
PG_IMAGE_VERSION: ${{ matrix.postgres_version }}
run: |
cd ${{ github.workspace }}
make build
make up
make test-pg
make down
run-mysql-tests:
runs-on: ubuntu-latest
strategy:
matrix:
mysql_version: [
"8-alpine"
]
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Build & test mysql
env:
MYSQL_VERSION: ${{ matrix.mysql_version }}
run: |
cd ${{ github.workspace }}
make build
make up
make test-mysql
make down
run-mssql-tests:
runs-on: ubuntu-latest
strategy:
matrix:
mssql_version: [
"2017-latest", "2019-latest"
]
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Build & test mssql
env:
MSSQL_VERSION: ${{ matrix.mssql_version }}
run: |
cd ${{ github.workspace }}
make build
make up
make test-mssql
make down
run-sqlite-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Build & test sqlite
run: |
cd ${{ github.workspace }}
make build
make up
make test-sqlite
make down