-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (34 loc) · 1.26 KB
/
selenium_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
name: Selenium_tests
on: [push]
jobs:
check_tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Build docker compose with docker-compose-selenium (tests)
run: |
cp .env_example .env
cp app/VERSION_example.json app/VERSION.json
docker compose -f docker-compose.yml -f docker-compose-selenium.yml build
- name: Run docker-compose with docker-compose-selenium (tests)
run: |
docker compose -f docker-compose.yml -f docker-compose-selenium.yml up -d
chmod +x tests/scripts/docker_check_tests.sh
./tests/scripts/docker_check_tests.sh
# jobs:
# check_tests:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - name: Simplify docker-compose file name
# run: mv docker-compose-tests.yml docker-compose.yml
# - name: Build system images (non-pulling)
# run: |
# # build base image
# docker build -f Dockerfile_base -t osll/slides-base:20230202 .
# - name: Run docker-compose tests
# run: |
# cp .env_example .env
# docker-compose up -d
# chmod +x tests/scripts/docker_check_tests.sh
# ./tests/scripts/docker_check_tests.sh