Skip to content

Buttons

Buttons #413

Workflow file for this run

name: Web test with Selenium
on:
push:
branches: [ dev, test-workflow ]
pull_request:
branches: [ dev, test-workflow ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# setup site using docker-compose
- name: Checkout
uses: actions/checkout@v3
- run: cp example.env .env
- run: cp database/example.env database/.env
- name: Run docker compose
run: docker compose up -d
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install selenium
- name: Run test
run: |
python test.py