Bump selenium from 4.20.0 to 4.21.0 #4188
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: System-Tests | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
# Run tests for any PRs. | |
pull_request: | |
env: | |
COMPOSE_FILE: docker-compose.yml:docker-compose-ci.yml | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Before install | |
run: | | |
docker --version | |
docker-compose --version | |
mkdir codecov | |
git submodule init | |
git submodule update --recursive | |
- name: Install | |
run: | | |
docker-compose config | |
docker-compose up --build -d | |
docker images | |
docker ps -a | |
docker exec ddionrails_web_1 bash -c \ | |
'pipenv requirements --dev > Requirements.txt' | |
docker exec ddionrails_web_1 cat Requirements.txt | |
docker exec ddionrails_web_1 pip install -r Requirements.txt | |
docker exec ddionrails_web_1 npm install | |
docker exec ddionrails_web_1 npm run build | |
- name: Unittests | |
if: always() | |
run: | | |
docker exec ddionrails_web_1 pytest --cov-report xml \ | |
--cov --cov-report html --cov-branch | |
- name: Functional import tests | |
if: always() | |
run: | | |
docker exec ddionrails_web_1 pytest --cov-report xml --cov --cov-report html --cov-branch \ | |
-m "functional" tests/functional/imports/ --cov-append | |
# - name: Functional browser tests | |
# if: always() | |
# run: | | |
# docker exec ddionrails_web_1 pytest --cov-report xml --cov --cov-report html --cov-branch \ | |
# -m "functional and not search" tests/functional/browser --cov-append | |
- name: Run migrations | |
run: docker exec ddionrails_web_1 python manage.py migrate | |
- name: Check production settings file | |
run: | | |
docker exec ddionrails_web_1 python manage.py check \ | |
--deploy --settings=config.settings.production | |
- name: Move codecov report | |
if: always() | |
run: | | |
docker exec ddionrails_web_1 mv coverage.xml codecov/ | |
- name: Upload codecov report | |
if: always() | |
uses: codecov/codecov-action@40a12dcee2df644d47232dde008099a3e9e4f865 # v3.1.2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./codecov/coverage.xml | |
fail_ci_if_error: true |