mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Add 3.9 to genbuilds.xsh
Also allow 3.9 to fail. Signed-off-by: Carmen Bianca Bakker <carmen@carmenbianca.eu>
This commit is contained in:
parent
1b9fd603ae
commit
2a8c4ed416
4 changed files with 7 additions and 1 deletions
5
.github/workflows/genbuilds.xsh
vendored
5
.github/workflows/genbuilds.xsh
vendored
|
@ -13,7 +13,7 @@ OS_IMAGES = {
|
|||
"macos": "macOS-latest",
|
||||
"windows": "windows-latest",
|
||||
}
|
||||
PYTHON_VERSIONS = ["3.6", "3.7", "3.8"]
|
||||
PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
|
||||
|
||||
CURR_DIR = os.path.dirname(__file__)
|
||||
template_path = os.path.join(CURR_DIR, "pytest.tmpl")
|
||||
|
@ -23,5 +23,8 @@ for os_name, python_version in product(OS_NAMES, PYTHON_VERSIONS):
|
|||
s = template.replace("OS_NAME", os_name)
|
||||
s = s.replace("OS_IMAGE", OS_IMAGES[os_name])
|
||||
s = s.replace("PYTHON_VERSION", python_version)
|
||||
# Allow Python 3.9 to fail.
|
||||
if python_version in ["3.9"]:
|
||||
s = "\n".join((s, " continue-on-error: true\n"))
|
||||
fname = os.path.join(CURR_DIR, f"pytest-{os_name}-{python_version}.yml")
|
||||
![echo @(s) > @(fname)]
|
||||
|
|
1
.github/workflows/pytest-linux-3.9.yml
vendored
1
.github/workflows/pytest-linux-3.9.yml
vendored
|
@ -40,3 +40,4 @@ jobs:
|
|||
python -m pip install . --no-deps
|
||||
python -m xonsh run-tests.xsh test -- --timeout=240
|
||||
|
||||
continue-on-error: true
|
||||
|
|
1
.github/workflows/pytest-macos-3.9.yml
vendored
1
.github/workflows/pytest-macos-3.9.yml
vendored
|
@ -40,3 +40,4 @@ jobs:
|
|||
python -m pip install . --no-deps
|
||||
python -m xonsh run-tests.xsh test -- --timeout=240
|
||||
|
||||
continue-on-error: true
|
||||
|
|
1
.github/workflows/pytest-windows-3.9.yml
vendored
1
.github/workflows/pytest-windows-3.9.yml
vendored
|
@ -40,3 +40,4 @@ jobs:
|
|||
python -m pip install . --no-deps
|
||||
python -m xonsh run-tests.xsh test -- --timeout=240
|
||||
|
||||
continue-on-error: true
|
||||
|
|
Loading…
Add table
Reference in a new issue