This commit is contained in:
loviuz 2021-05-15 16:41:32 +02:00 committed by GitHub
parent 182843fe79
commit 8b83aeedc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -8,8 +8,25 @@ on:
jobs: jobs:
tests: tests:
needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: php:7.4-apache
ports:
- 80:80
options: --network-alias=testserver
env:
TEST_BASE_URL: http://testserver
SELENIUM_HOST: http://selenium:4444/wd/hub
services:
selenium:
image: selenium/standalone-chrome
ports:
- 4444:4444
strategy: strategy:
matrix: matrix:
python-version: [3.9] python-version: [3.9]
@ -105,6 +122,12 @@ jobs:
repository: devcode-it/openstamanager-tests repository: devcode-it/openstamanager-tests
path: python-tests path: python-tests
- name: Copy OSM to www root
run: |
sudo cp -R * /var/www/html/
sudo rm /var/www/html/index.html
sudo chmod -R 0777 /var/www/html/
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
cd python-tests/ cd python-tests/