-
-
Notifications
You must be signed in to change notification settings - Fork 733
47 lines (41 loc) · 1.07 KB
/
acceptance-tests.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
name: Acceptance Tests using docker compose
on:
push:
branches:
- 3.x
pull_request:
branches:
- '**'
env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
steps:
# need checkout before using compose-action
- uses: actions/checkout@v3
- uses: isbang/[email protected]
with:
compose-file: "./test/docker-compose.yml"
down-flags: "--volumes"
- run:
command: docker-compose run --rm test-acceptance.puppeteer
working_directory: test
when: always
- run:
command: docker-compose run --rm test-rest
working_directory: test
when: always
- run:
command: docker-compose run --rm test-acceptance.webdriverio
working_directory: test
when: always
- run:
command: docker-compose run --rm test-bdd.faker
working_directory: test
when: always