Skip to content

Commit

Permalink
Implemented Testing across all Branches
Browse files Browse the repository at this point in the history
- Set coverage testing and unittesting to run across all branches on the repo
- Cleaned up workflows to remove redundant code
  • Loading branch information
ojusharma committed Apr 5, 2024
1 parent 52992e4 commit c81e2d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Django Coverage Test
on:
push:
branches:
- main
- '*'
workflow_dispatch:

jobs:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/pull_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,3 @@ jobs:
script: |
./pull_changes.sh
dummy-job:
runs-on: ubuntu-latest
steps:
- name: Dummy Step
run: echo "This is a dummy step"

11 changes: 1 addition & 10 deletions .github/workflows/running_tests_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Running Tests
on:
push:
branches:
- main
- '*'
workflow_dispatch:

jobs:
Expand All @@ -29,12 +29,3 @@ jobs:
run: |
cd ./Django/communicado
docker exec communicado_container_test python manage.py test
notify-success:
runs-on: ubuntu-latest
needs: test
if: ${{ success() }}

steps:
- name: Notify Success
run: echo "Tests ran successfully"

0 comments on commit c81e2d6

Please sign in to comment.