Skip to content

Commit

Permalink
remove the steps for js test for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
hyihua committed Dec 2, 2023
1 parent febe27a commit ac15ae5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
run: docker-compose -f docker-compose.yml up --build --detach

- name: Run Python tests
run: docker-compose -f docker-compose.yml exec test bash -c 'python manage.py test'
run: docker-compose -f docker-compose.yml exec test python manage.py test

- name: Run JavaScript Tests
run: docker-compose -f docker-compose.yml exec test bash -c 'npm run test'
# - name: Run JavaScript Tests
# run: docker-compose -f docker-compose.yml exec test bash -c 'npm run test'

- name: Stop and remove containers
run: docker-compose -f path/to/your/docker-compose.yml down
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ services:
build: .
env_file:
- ./.env
command: bash -c 'python manage.py test && npm run test'
command: python manage.py test
volumes:
- demolab:/var/lib/postgresql/data/
- ./civictechprojects/:/code/civictechprojects/
- ./common/:/code/common/
- ./democracylab/:/code/democracylab/
Expand Down

0 comments on commit ac15ae5

Please sign in to comment.