Skip to content

Commit

Permalink
CI fix attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeal committed Oct 30, 2023
1 parent b2d80f4 commit da1b9bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
env:
USING_COVERAGE: '3.8,3.9,3.10,3.11'
USING_COVERAGE: '3.8,3.9,3.10,3.11,3.12'

strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: "actions/checkout@v3"
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.12
- name: "Install dependencies"
run: |
set -xe
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ commands = python -c "import glob; import papermill as pm; [pm.execute_notebook(
# Distro
[testenv:dist]
skip_install = true
# Have to use /bin/bash or the `*` will cause that argument to get quoted by the tox command line...
allowlist_externals = /bin/bash
commands =
python setup.py sdist --dist-dir={distdir} bdist_wheel --dist-dir={distdir}
/bin/bash -c 'python -m pip install -U --force-reinstall {distdir}/papermill*.whl'
Expand Down Expand Up @@ -81,6 +79,8 @@ basepython =
binder: python3.12
black: python3.12
deps = .[dev]
# Have to use /bin/bash or the `*` will cause that argument to get quoted by the tox command line...
allowlist_externals = /bin/bash
# Python 3.12 breaks default pip/setuptools versions ... force an upgrade of these before anything else
install_command = /bin/bash ./tox_py_installer {opts} {packages}
commands = pytest -v --maxfail=2 --cov=papermill -W always {posargs}

0 comments on commit da1b9bd

Please sign in to comment.