From f375a6e73f7ba4660fc94f76072bbe17f2a55dec Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 30 Jan 2021 12:10:38 -0500 Subject: 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 --- .github/workflows/ci.yml | 6 +++--- 1 file 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 -- cgit v1.2.1