Skip to content

Commit 13f5d25

Browse files
committed
updated ci cd function calling
1 parent b2e3892 commit 13f5d25

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,6 @@ jobs:
135135
run: |
136136
cd backend
137137
# Clear cache before tests to ensure proper isolation
138-
<<<<<<< HEAD
139-
DJANGO_SETTINGS_MODULE=config.settings python -c "import django; django.setup(); from django.core.cache import cache; cache.clear()"
140-
141-
# Run all backend tests and generate combined coverage
142-
DJANGO_SETTINGS_MODULE=config.settings python -m pytest --cov=. --cov-report=xml:coverage.xml --junitxml=junit.xml -o junit_family=legacy
143-
144-
# Run API-specific tests
145-
DJANGO_SETTINGS_MODULE=config.settings python -m pytest api/ --cov=api --cov-report=xml:api-coverage.xml --junitxml=api-junit.xml -o junit_family=legacy
146-
147-
# Run integration tests
148-
DJANGO_SETTINGS_MODULE=config.settings python -m pytest tests/test_integration.py --cov=. --cov-report=xml:integration-coverage.xml --junitxml=integration-junit.xml -o junit_family=legacy
149-
=======
150138
python -c "import django; django.setup(); from django.core.cache import cache; cache.clear()"
151139
152140
# Run all backend tests and generate combined coverage
@@ -157,7 +145,6 @@ jobs:
157145
158146
# Run integration tests
159147
python -m pytest tests/test_integration.py --cov=. --cov-report=xml:integration-coverage.xml --junitxml=integration-junit.xml -o junit_family=legacy
160-
>>>>>>> e98d056 (updated docker build)
161148
162149
# Ensure all coverage files exist (create empty if needed)
163150
for file in coverage.xml api-coverage.xml integration-coverage.xml; do
@@ -166,12 +153,6 @@ jobs:
166153
fi
167154
done
168155
169-
<<<<<<< HEAD
170-
# Clear cache after tests to ensure clean state for next run
171-
DJANGO_SETTINGS_MODULE=config.settings python -c "import django; django.setup(); from django.core.cache import cache; cache.clear()"
172-
173-
=======
174-
>>>>>>> e98d056 (updated docker build)
175156
- name: Upload Coverage to Codecov
176157
uses: codecov/codecov-action@v3
177158
with:

0 commit comments

Comments
 (0)