Skip to content

Commit

Permalink
Fix requirements need to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
meomancer committed Jan 22, 2025
1 parent f1ae3e7 commit 38fd98e
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ jobs:
matrix:
test_suite: [
{ name: "Backend Tests", script: "make devweb-test" },
{ name: "E2E Tests: Project Creation", path: "tests/project_creation", workers: 2, script_load : "make load-test-data" },
{ name: "E2E Tests: Project View", path: "tests/project_view", workers: 3, script_load : "make load-test-data" },
{ name: "E2E Tests: Admin List", path: "tests/admin_list", workers: 3, script_load : "make load-test-data" },
{ name: "E2E Tests: Admin Edit", path: "tests/admin_edit", workers: 3, script_load : "make load-test-data" },
{ name: "E2E Tests: Admin List Filter", path: "tests/admin_filter", workers: 3, script_load : "make load-test-data-for-filter" }
{ name: "E2E Tests: Project Creation", path: "tests/project_creation", workers: 2, script_load: "make load-test-data" },
{ name: "E2E Tests: Project View", path: "tests/project_view", workers: 3, script_load: "make load-test-data" },
{ name: "E2E Tests: Admin List", path: "tests/admin_list", workers: 3, script_load: "make load-test-data" },
{ name: "E2E Tests: Admin Edit", path: "tests/admin_edit", workers: 3, script_load: "make load-test-data" },
{ name: "E2E Tests: Admin List Filter", path: "tests/admin_filter", workers: 3, script_load: "make load-test-data-for-filter" }
]
env:
APP_IMAGE: kartoza/geosight
Expand Down Expand Up @@ -134,6 +134,15 @@ jobs:
make devweb
make wait-db
docker cp ./django_project geosight_dev:/home/web
- name: Install requirements
run: |
docker cp ./docker/requirements.txt /home/web/requirements.txt
docker cp ./docker/requirements-dev.txt /home/web/requirements-dev.txt
docker compose $(ARGS) exec -T dev bash -c "pip install -r /home/web/requirements.txt && pip install -r /home/web/requirements-dev.txt"
- name: Initialize devweb database
run: |
make devweb-initialize
- name: Execute Test Backend
Expand Down

0 comments on commit 38fd98e

Please sign in to comment.