Update tests to not run all the time (#2311)

This commit is contained in:
Adam Hopkins 2021-11-23 15:53:46 +02:00 committed by GitHub
parent 65e28b8c22
commit 2c03eee329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 23 additions and 37 deletions

View File

@ -5,6 +5,7 @@ on:
branches: [ main ] branches: [ main ]
pull_request: pull_request:
branches: [ main ] branches: [ main ]
types: [review_requested, ready_for_review]
schedule: schedule:
- cron: '25 16 * * 0' - cron: '25 16 * * 0'

View File

@ -1,17 +1,17 @@
name: Coverage check name: Coverage check
# on: on:
# push: push:
# branches: branches:
# - main - main
# tags: tags:
# - "!*" # Do not execute on tags - "!*" # Do not execute on tags
# paths: paths:
# - sanic/* - sanic/*
# - tests/* - tests/*
# pull_request: pull_request:
# paths: paths:
# - "!*.MD" - "!*.MD"
on: [push, pull_request] types: [review_requested, ready_for_review]
jobs: jobs:
test: test:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
types: [review_requested, ready_for_review]
jobs: jobs:
bandit: bandit:

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
types: [review_requested, ready_for_review]
jobs: jobs:
docsLinter: docsLinter:

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
types: [review_requested, ready_for_review]
jobs: jobs:
linter: linter:

View File

@ -3,12 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
push: types: [review_requested, ready_for_review]
branches:
- main
paths:
- sanic/*
- tests/*
jobs: jobs:
testPy39: testPy39:

View File

@ -3,12 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
push: types: [review_requested, ready_for_review]
branches:
- main
paths:
- sanic/*
- tests/*
jobs: jobs:
testPy37: testPy37:

View File

@ -3,12 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
push: types: [review_requested, ready_for_review]
branches:
- main
paths:
- sanic/*
- tests/*
jobs: jobs:
testPy38: testPy38:

View File

@ -3,12 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
push: types: [review_requested, ready_for_review]
branches:
- main
paths:
- sanic/*
- tests/*
jobs: jobs:
testPy39: testPy39:

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
types: [review_requested, ready_for_review]
jobs: jobs:
typeChecking: typeChecking:

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
types: [review_requested, ready_for_review]
jobs: jobs:
testsOnWindows: testsOnWindows: