mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
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:
|
check_tag:
|
||||||
name: Tag name
|
name: Tag name
|
||||||
outputs:
|
outputs:
|
||||||
|
@ -31,7 +41,7 @@ jobs:
|
||||||
"windows-latest"
|
"windows-latest"
|
||||||
],
|
],
|
||||||
"python": [
|
"python": [
|
||||||
3.7
|
3.8
|
||||||
],
|
],
|
||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
|
@ -67,12 +77,12 @@ jobs:
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="Dynamically creates a build matrix for the GitHub Actions.")
|
parser = argparse.ArgumentParser(description="Dynamically creates a build matrix for the GitHub Actions.")
|
||||||
parser.add_argument("--tagged", action="store_true", default=False,
|
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()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if args.tagged:
|
if args.tagged:
|
||||||
matrix["python"].append("3.8")
|
pass
|
||||||
else:
|
else:
|
||||||
matrix["BUILD_TYPE"].append("check")
|
matrix["BUILD_TYPE"].append("check")
|
||||||
|
|
||||||
|
@ -88,16 +98,6 @@ jobs:
|
||||||
printf '::set-output name=matrix::%s\n' "$(python3 buildmatrix.py)"
|
printf '::set-output name=matrix::%s\n' "$(python3 buildmatrix.py)"
|
||||||
fi
|
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:
|
tests:
|
||||||
needs:
|
needs:
|
||||||
- check_tag
|
- check_tag
|
||||||
|
|
Loading…
Reference in a new issue