-
-
Notifications
You must be signed in to change notification settings - Fork 727
49 lines (39 loc) · 1.11 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
48
49
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-latest
strategy:
matrix:
node-version: [20.x]
steps:
# Checkout the repository
- name: Checkout Repository
uses: actions/checkout@v4
# Install Docker Compose
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
# Run rest tests using docker-compose
- name: Run REST Tests
run: docker-compose run --rm test-rest
working-directory: test
# Run WebDriverIO acceptance tests using docker-compose
- name: Run WebDriverIO Acceptance Tests
run: docker-compose run --rm test-acceptance.webdriverio
working-directory: test
# Run faker BDD tests using docker-compose
- name: Run Faker BDD Tests
run: docker-compose run --rm test-bdd.faker
working-directory: test