diff options
-rw-r--r-- | .github/workflows/ci.yml | 8 | ||||
-rw-r--r-- | .github/workflows/doc.yml | 8 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 285272ba..03f7fd4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,16 +33,10 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm nox - name: Run tests and post coverage results env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0253c2eb..8f982683 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -33,15 +33,9 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm nox - name: Sphinx documentation build run: python -m nox --non-interactive --session docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 241be8ab..328df22f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,15 +33,9 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm flake8 - name: Lint run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ; |