Skip to content

Commit

Permalink
Use venv pytest in CI
Browse files Browse the repository at this point in the history
Here is the entire conversation: aboutcode-org#379

Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Signed-off-by: Pushpit <pushpit07@gmail.com>
  • Loading branch information
Hritik14 authored and Pushpit07 committed Mar 18, 2021
1 parent 0e2227a commit 4d8ada4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
pip install -r requirements.txt
- name: Run tests
run: pytest
run: python -m pytest
env:
# The hostname, username used to communicate with the PostgreSQL service container
POSTGRES_HOST: localhost
VC_DB_USER: postgres
POSTGRES_PORT: 5432
DJANGO_DEV: 1
GH_TOKEN: 1
GH_TOKEN: 1
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ before_script:

script:
- ./manage.py collectstatic
- pytest
- python -m pytest

notifications:
email: false
Expand All @@ -27,4 +27,4 @@ notifications:
- https://webhooks.gitter.im/e/b119fa557626081e1f36
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always

0 comments on commit 4d8ada4

Please sign in to comment.