mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
drop 3.7 support in CI
This commit is contained in:
parent
0cf964b16d
commit
f61b6c0359
1 changed files with 13 additions and 13 deletions
26
.github/workflows/checks.yml
vendored
26
.github/workflows/checks.yml
vendored
|
@ -3,6 +3,16 @@ name: Checks
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
contrib:
|
||||
name: Author in CONTRIBUTORS
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Check
|
||||
run: |
|
||||
set -x
|
||||
.github/scripts/contrib.sh
|
||||
|
||||
check_tag:
|
||||
name: Tag name
|
||||
outputs:
|
||||
|
@ -31,7 +41,7 @@ jobs:
|
|||
"windows-latest"
|
||||
],
|
||||
"python": [
|
||||
3.7
|
||||
3.8
|
||||
],
|
||||
"include": [
|
||||
{
|
||||
|
@ -67,12 +77,12 @@ jobs:
|
|||
|
||||
parser = argparse.ArgumentParser(description="Dynamically creates a build matrix for the GitHub Actions.")
|
||||
parser.add_argument("--tagged", action="store_true", default=False,
|
||||
help="Adds Python 3.8 builds into the matrix")
|
||||
help="Skip checks on release build")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.tagged:
|
||||
matrix["python"].append("3.8")
|
||||
pass
|
||||
else:
|
||||
matrix["BUILD_TYPE"].append("check")
|
||||
|
||||
|
@ -88,16 +98,6 @@ jobs:
|
|||
printf '::set-output name=matrix::%s\n' "$(python3 buildmatrix.py)"
|
||||
fi
|
||||
|
||||
contrib:
|
||||
name: Author in CONTRIBUTORS
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Check
|
||||
run: |
|
||||
set -x
|
||||
.github/scripts/contrib.sh
|
||||
|
||||
tests:
|
||||
needs:
|
||||
- check_tag
|
||||
|
|
Loading…
Reference in a new issue