-
Notifications
You must be signed in to change notification settings - Fork 180
82 lines (74 loc) · 3.01 KB
/
ci.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
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
name: BMO Test Suite
on:
pull_request
jobs:
test_sanity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build bmo.test
- name: Run sanity tests
run: docker-compose -f docker-compose.test.yml run --no-deps bmo.test test_sanity t/*.t extensions/*/t/*.t
test_webservices:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run webservice tests
run: docker-compose -f docker-compose.test.yml run bmo.test test_webservices
test_bmo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run bmo specific tests
run: docker-compose -f docker-compose.test.yml run -e CI=1 bmo.test test_bmo -q -f t/bmo/*.t
test_selenium_1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run Selenium tests (1)
run: docker-compose -f docker-compose.test.yml run -e SELENIUM_GROUP=1 bmo.test test_selenium
test_selenium_2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run Selenium tests (2)
run: docker-compose -f docker-compose.test.yml run -e SELENIUM_GROUP=2 bmo.test test_selenium
test_selenium_3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run Selenium tests (3)
run: docker-compose -f docker-compose.test.yml run -e SELENIUM_GROUP=3 bmo.test test_selenium
test_selenium_4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
- name: Build Docker test images
run: docker-compose -f docker-compose.test.yml build
- name: Run Selenium tests (4)
run: docker-compose -f docker-compose.test.yml run -e SELENIUM_GROUP=4 bmo.test test_selenium