Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test changes #17

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/python_syntax_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true
- run: safety check
- run: python manage.py test

36 changes: 11 additions & 25 deletions .github/workflows/testcases.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
# name: Testcases check

# on: [push]

# # defaults:
# # run:
# # working-directory: user

# jobs:
# build:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.8", "3.9", "3.10"]
# steps:

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

# - name: Test the features
# run: |
# pwd
# python manage.py test


name: run test cases
on: [pull_request, push]
jobs:
test_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v3
- run: pip install -r requirements.txt || true
- run: python manage.py test
48 changes: 0 additions & 48 deletions publish/tests/test_db.py

This file was deleted.

37 changes: 0 additions & 37 deletions user/tests/test_db.py

This file was deleted.