Skip to content

Commit

Permalink
Update running_tests_py.yml
Browse files Browse the repository at this point in the history
- Fixing bug in syntax for running tests
  • Loading branch information
ojusharma authored Mar 27, 2024
1 parent 19d742c commit df24431
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/running_tests_py.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Running Tests.py
name: Running Tests

on:
push:
Expand All @@ -7,18 +7,25 @@ on:
workflow_dispatch:

jobs:
pull:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build Docker image
run: |
.\win_docker_build_and_run.bat
- name: Build Docker imagea
run: |
docker compose run web python manage.py test
test:
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run tests
run: |
docker-compose run web python manage.py test

0 comments on commit df24431

Please sign in to comment.