Skip to content

Commit f7be7f8

Browse files
committed
Change to django test
1 parent 80ec29a commit f7be7f8

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,19 @@ jobs:
1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
python-version: [3.10.5]
16-
fail-fast: [false]
15+
python-version: [ 3.10.5 ]
16+
fail-fast: [ false ]
1717

1818
steps:
19-
- uses: actions/checkout@v3
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v3
22-
with:
23-
python-version: ${{ matrix.python-version }}
24-
- name: Install Dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
28-
pip install coverage
29-
- name: Run Tests
30-
run: |
31-
coverage run --source=payment manage.py test payment.tests --verbosity=1
32-
coverage report
33-
coverage xml
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
- name: Run Tests
29+
run: |
30+
python manage.py test

0 commit comments

Comments
 (0)