Skip to content

Commit

Permalink
Fix pull workflow (#233)
Browse files Browse the repository at this point in the history
* Fix pull workflow

* Dev requirements
  • Loading branch information
piyushroshan authored Feb 6, 2024
1 parent d8cdb88 commit 9ce2393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
name: PR Build

on:
push:
branches:
- 'develop'
- 'main'
tags:
- 'v*.*.*'
paths:
- 'services/**'
- 'postman_collections/**'
- 'deploy/**'
- '.github/workflows/**'
pull_request:
paths:
- 'services/**'
Expand Down Expand Up @@ -221,6 +210,7 @@ jobs:
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
pip3 install -r dev-requirements.txt
mkdir -p test-results
source .env
IS_TESTING=True python3 manage.py test --no-input --testrunner xmlrunner.extra.djangotestrunner.XMLTestRunner
Expand Down
2 changes: 2 additions & 0 deletions services/workshop/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage==7.4.1
unittest-xml-reporting==3.2.0

0 comments on commit 9ce2393

Please sign in to comment.