ci: fix tests.yml workflow
This commit is contained in:
parent
0d43663e9b
commit
5f685f45fb
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
tests-python:
|
tests-python:
|
||||||
name: Python Tests
|
name: Python Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/ietf-tools/datatracker-app-base:${{ github.event.inputs.targetBaseVersion }}
|
container: ghcr.io/ietf-tools/datatracker-app-base:${{ inputs.targetBaseVersion }}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Running tests..."
|
echo "Running tests..."
|
||||||
if [[ "x${{ github.event.inputs.ignoreLowerCoverage }}" == "xtrue" ]]; then
|
if [[ "x${{ inputs.ignoreLowerCoverage }}" == "xtrue" ]]; then
|
||||||
echo "Lower coverage failures will be ignored."
|
echo "Lower coverage failures will be ignored."
|
||||||
HOME=/root ./ietf/manage.py test -v2 --validate-html-harder --settings=settings_test --ignore-lower-coverage
|
HOME=/root ./ietf/manage.py test -v2 --validate-html-harder --settings=settings_test --ignore-lower-coverage
|
||||||
else
|
else
|
||||||
|
@ -119,7 +119,7 @@ jobs:
|
||||||
tests-playwright-legacy:
|
tests-playwright-legacy:
|
||||||
name: Playwright Legacy Tests
|
name: Playwright Legacy Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/ietf-tools/datatracker-app-base:${{ github.event.inputs.targetBaseVersion }}
|
container: ghcr.io/ietf-tools/datatracker-app-base:${{ inputs.targetBaseVersion }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in a new issue