Skip to content

Commit

Permalink
Added one job to check if all tests have passed. Makes it easier to c…
Browse files Browse the repository at this point in the history
…onfigure required tests in GitHub.
  • Loading branch information
antonpirker committed Dec 13, 2022
1 parent 031e79a commit bf57f69
Show file tree
Hide file tree
Showing 29 changed files with 348 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-aiohttp.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-asgi.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-aws_lambda.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-beam.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-boto3.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-bottle.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-celery.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-chalice.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-django.yml
Expand Up @@ -77,3 +77,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-falcon.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-fastapi.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-flask.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-gcp.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-httpx.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-opentelemetry.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-pure_eval.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-pymongo.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-pyramid.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-quart.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-redis.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-rediscluster.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-requests.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-rq.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-sanic.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
12 changes: 12 additions & 0 deletions .github/workflows/test-integration-sqlalchemy.yml
Expand Up @@ -60,3 +60,15 @@ jobs:
coverage combine .coverage*
coverage xml -i
codecov --file coverage.xml
check_required_tests:
name: All required tests passed or skipped
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure')
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1

0 comments on commit bf57f69

Please sign in to comment.