summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 12:10:38 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 12:10:38 -0500
commitf375a6e73f7ba4660fc94f76072bbe17f2a55dec (patch)
treed594b600600a1b39942ae73767023aaeefc6a3de /.github/workflows
parentda37e20c267dd7a375145f29aa9a6cb48efacc35 (diff)
downloadcmd2-git-f375a6e73f7ba4660fc94f76072bbe17f2a55dec.tar.gz
For GitHub Actions CI, remove Python 3.5 since it is past EOL
Also: - Install setuptools and setuptools-scm to hopefully help with version confusion due to lack of setuptools-scm - Try running nox using python -m since it wasn't found as a command when running on windows via GitHub Actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1e037344..f988babb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10-dev]
+ python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@@ -39,7 +39,7 @@ jobs:
- name: Install python prerequisites
if: steps.cache-deps.outputs.cache-hit != 'true'
run: |
- pip install -U pip flake8 nox
+ pip install -U pip setuptools setuptools-scm flake8 nox
python setup.py develop
- name: Lint
if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST
@@ -47,4 +47,4 @@ jobs:
- name: Run tests and post coverage results
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: nox --non-interactive
+ run: python -m nox --non-interactive