File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -137,15 +137,22 @@ jobs:
137137 REDIS_URL : " redis://:${{ secrets.REDIS_PASSWORD || 'redis_default_password_for_ci' }}@localhost:${{ secrets.REDIS_PORT || '6379' }}/${{ secrets.REDIS_DB || '0' }}"
138138 run : |
139139 cd backend
140- python -m pytest --cov=. --cov-report=xml || true
140+ python -m pytest --cov=. --cov-report=xml --junitxml=junit.xml -o junit_family=legacy || true
141141
142142 - name : Upload coverage to Codecov
143143 uses : codecov/codecov-action@v3
144144 with :
145145 file : ./backend/coverage.xml
146- token : ${{ secrets.CODECOV_TOKEN }}
146+ slug : " TechWithTy/django-supabase-template "
147147 fail_ci_if_error : false
148148
149+ - name : Upload test results to Codecov
150+ if : ${{ !cancelled() }}
151+ uses : codecov/test-results-action@v1
152+ with :
153+ token : ${{ secrets.CODECOV_TOKEN }}
154+ file : ./backend/junit.xml
155+
149156 build :
150157 name : Build Docker Image
151158 needs : test
You can’t perform that action at this time.
0 commit comments