Skip to content

migrated norms app to new state with new fileds #334

migrated norms app to new state with new fileds

migrated norms app to new state with new fileds #334

Workflow file for this run

name: Django tests and Selenium tests
on: [push]
jobs:
docker:
timeout-minutes: 20
runs-on: ubuntu-latest
services:
selenium:
image: selenium/standalone-firefox
options: --shm-size=2gb
steps:
- uses: actions/checkout@v4
- name: Create .env-file
run: cp .env.example .env
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Execute build_initial command
run: ./run build_initial dev
- name: Run dev-environment
run: ./run up_initial dev postgres/webcentral_db_20241023_fixed_translation_error_in_usage.sql
- name: Execute unittest for project_listing app
run: docker exec -w /webcentral/src webcentral python manage.py test project_listing
- name: Execute unittest for tools_over app
run: docker exec -w /webcentral/src webcentral python manage.py test tools_over
- name: Setup selenium dev-environment
run: |
python -m venv webcentral/test/testing_venv
source webcentral/test/testing_venv/bin/activate
pip install -r webcentral/test/requirements_testing.txt
set -o allexport
source .env
set +o allexport
cd webcentral/test/06_system_test
HEADLESS=1 python testrunner.py