From 55126256c2fc3cfcf05a87915a91866b5ba99b61 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Thu, 25 Aug 2022 14:02:09 -0500 Subject: [PATCH] Update CI to use Python 3.8 through 3.10 (#386) * Try to build on Python 3.8 and 3.9 * Delete .travis.yml * Update ci.yaml * Don't duplicate CI runs on push and pull_request * Update Python versions following NEP 29 * Unpin actions versions * Include version targets as they are required * Turn off macOS + Python 3.10 tests * Cleanup --- .github/workflows/ci.yaml | 8 ++++++-- .travis.yml | 20 -------------------- 2 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 83f2f646..0f72570b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,13 +11,17 @@ jobs: fail-fast: false matrix: os: [macOS-latest, ubuntu-latest] - python-version: [3.6, 3.7] + python-version: ["3.8", "3.9", "3.10"] + exclude: + # These OpenMM builds are broken as of 8/2022 + - os: macOS-latest + python-version: "3.10" env: CI_OS: ${{ matrix.os }} PYVER: ${{ matrix.python-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: conda-incubator/setup-miniconda@v2 with: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 577b6b3a..00000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: c -sudo: false - -matrix: - include: - - { os: linux, env: PYTHON_VERSION=3.6 } - - { os: linux, env: PYTHON_VERSION=3.7 } - - { os: osx, env: PYTHON_VERSION=3.6 } - - { os: osx, env: PYTHON_VERSION=3.7 } - -install: - - source devtools/travis-ci/install_conda.sh - - - conda config --set always_yes yes --set changeps1 no - - conda env create -q python=$PYTHON_VERSION -f devtools/conda-envs/test_env.yaml - - source activate intermol-test-env - - pip install -e . - -script: - - py.test -v --pyargs intermol