File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,17 @@ jobs:
153153 if : matrix.test-type == 'frontend'
154154 run : |
155155 docker compose run nodejs bash -c "gulp dev && karma start --single-run && gulp staging"
156+ sudo curl -L "https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
157+ sudo chmod +x /usr/local/bin/docker-compose
158+ docker-compose --version
159+
160+ - name : Set up Python 3.9
161+ uses : actions/setup-python@v4
162+ with :
163+ python-version : 3.9.21
164+
165+ - name : Install dependencies
166+ run : pip install awscli==1.18.66
156167
157168 - name : Run backend tests
158169 if : matrix.test-type == 'backend'
@@ -171,8 +182,11 @@ jobs:
171182 env :
172183 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
173184 run : |
174- coveralls --rcfile=.coveragerc
175-
185+ echo "Attempting to submit coverage to Coveralls..."
186+ docker-compose run -e DJANGO_SETTINGS_MODULE=settings.test -e COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} django bash -c "
187+ pip install coveralls &&
188+ coveralls --rcfile=.coveragerc" || echo "Coveralls submission failed, but continuing workflow"
189+
176190 deploy :
177191 name : Package & Deploy Services
178192 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments