Skip to content

[WIP] Selenium in CI #807

[WIP] Selenium in CI

[WIP] Selenium in CI #807

Workflow file for this run

name: Testing Django
on: [ pull_request, push ] # activates the workflow when there is a push or pull request in the repo
jobs:
test_project:
steps:

Check failure on line 5 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / Testing Django

Invalid workflow file

The workflow is not valid. .github/workflows/testing.yml (Line: 5, Col: 5): Required property is missing: runs-on
- uses: ./.github/workflows/setup_django.yml
- name: Run validate_templates
run: |
export DJANGO_TEST_PROCESSES=1
cp .env.testing app/.env
cd app/
mkdir -p static_files
python manage.py validate_templates --ignore-app django_filters
- name: Run Tests
run: |
cp .env.testing app/.env
cd app/
mkdir -p static_files
python manage.py test
env:
DJANGO_SETTINGS_MODULE: app.settings
DATABASE_URL: postgres://sadilar:sadilar@localhost:5432/test_db
- name: Manager Check
run: |
cd app/
python manage.py check