Format changes and changing before_install to script for 3.9 builds

This commit is contained in:
Micah Jerome Ellison 2020-08-08 12:46:23 -07:00
parent 9fb47e57ff
commit 040007f554
2 changed files with 11 additions and 5 deletions

View file

@ -2,7 +2,7 @@ import toml
pyproject = toml.load("pyproject.toml") pyproject = toml.load("pyproject.toml")
pyproject['tool']['poetry']['dependencies']['python'] = "*" pyproject["tool"]["poetry"]["dependencies"]["python"] = "*"
with open("pyproject.toml", "w") as toml_file: with open("pyproject.toml", "w") as toml_file:
toml.dump(pyproject, toml_file) toml.dump(pyproject, toml_file)

View file

@ -110,20 +110,26 @@ jobs:
# Python 3.9 Dev Tests # Python 3.9 Dev Tests
- name: Python 3.9 on Linux - name: Python 3.9 on Linux
before_install: script:
- python .build/allow_all_python_version.py - python .build/allow_all_python_version.py
- poetry run pytest
- poetry run behave
python: 3.9-dev python: 3.9-dev
- <<: *test_mac - <<: *test_mac
name: Python 3.9 on MacOS name: Python 3.9 on MacOS
before_install: script:
- python .build/allow_all_python_version.py - python .build/allow_all_python_version.py
- poetry run pytest
- poetry run behave
python: 3.9-dev python: 3.9-dev
env: env:
JRNL_PYTHON_VERSION: 3.9.0b5 JRNL_PYTHON_VERSION: 3.9.0b5
- <<: *test_windows - <<: *test_windows
name: Python 3.9 on Windows name: Python 3.9 on Windows
before_install: script:
- python .build/allow_all_python_version.py - python .build/allow_all_python_version.py
- poetry run pytest
- poetry run behave
python: 3.9-dev python: 3.9-dev
env: env:
<<: *env_windows <<: *env_windows