Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ jobs:
- ubuntu-20.04
python:
- "3.11"
nox-session:
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
- "ci_checks_max"
- "pytest_min"
runs-on: ${{ matrix.os }}

steps:
- name: Print environment (debug)
run: env

- name: Fetch sources
uses: actions/checkout@v3
with:
Expand All @@ -50,11 +58,25 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev-noxfile]
pip freeze

- name: Create nox venv
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox --install-only -e "$NOX_SESSION"

- name: Print pip freeze for nox venv (debug)
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: |
. ".nox/$NOX_SESSION/bin/activate"
pip freeze
deactivate

- name: Run nox
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
run: nox -e ci_checks_max pytest_min
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox -R -e "$NOX_SESSION"
timeout-minutes: 60

build:
Expand All @@ -76,6 +98,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U build
pip freeze

- name: Build the source and binary distribution
run: python -m build
Expand Down Expand Up @@ -110,6 +133,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Generate the documentation
env:
Expand Down Expand Up @@ -192,6 +216,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Fetch the gh-pages branch
if: steps.mike-metadata.outputs.version
Expand Down
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@

### Cookiecutter template


- Now dependabot updates will be done weekly and grouped by *required* and *optional* for minor and patch updates (major updates are still done individually for each dependency).

- ci: Add debug information when installing pip packages.

The output of `pip freeze` is printed to be able to more easily debug different behaviours between GitHub workflow runs and local runs.

## Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ jobs:
- ubuntu-20.04
python:
- "3.11"
nox-session:
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
- "ci_checks_max"
- "pytest_min"
runs-on: {{'${{ matrix.os }}'}}

steps:
- name: Print environment (debug)
run: env

- name: Fetch sources
uses: actions/checkout@v3
with:
Expand All @@ -75,11 +83,25 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev-noxfile]
pip freeze

- name: Create nox venv
env:
NOX_SESSION: {{'${{ matrix.nox-session }}'}}
run: nox --install-only -e "$NOX_SESSION"

- name: Print pip freeze for nox venv (debug)
env:
NOX_SESSION: {{'${{ matrix.nox-session }}'}}
run: |
. ".nox/$NOX_SESSION/bin/activate"
pip freeze
deactivate

- name: Run nox
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
run: nox -e ci_checks_max pytest_min
env:
NOX_SESSION: {{'${{ matrix.nox-session }}'}}
run: nox -R -e "$NOX_SESSION"
timeout-minutes: 10

build:
Expand All @@ -101,6 +123,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U build
pip freeze

- name: Build the source and binary distribution
run: python -m build
Expand Down Expand Up @@ -135,6 +158,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Generate the documentation
env:
Expand Down Expand Up @@ -217,6 +241,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Fetch the gh-pages branch
if: steps.mike-metadata.outputs.version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ jobs:
- ubuntu-20.04
python:
- "3.11"
nox-session:
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
- "ci_checks_max"
- "pytest_min"
runs-on: ${{ matrix.os }}

steps:
- name: Print environment (debug)
run: env

- name: Fetch sources
uses: actions/checkout@v3
with:
Expand All @@ -50,11 +58,25 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev-noxfile]
pip freeze

- name: Create nox venv
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox --install-only -e "$NOX_SESSION"

- name: Print pip freeze for nox venv (debug)
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: |
. ".nox/$NOX_SESSION/bin/activate"
pip freeze
deactivate

- name: Run nox
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
run: nox -e ci_checks_max pytest_min
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox -R -e "$NOX_SESSION"
timeout-minutes: 10

build:
Expand All @@ -76,6 +98,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U build
pip freeze

- name: Build the source and binary distribution
run: python -m build
Expand Down Expand Up @@ -110,6 +133,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Generate the documentation
env:
Expand Down Expand Up @@ -192,6 +216,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Fetch the gh-pages branch
if: steps.mike-metadata.outputs.version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,17 @@ jobs:
- ubuntu-20.04
python:
- "3.11"
nox-session:
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
- "ci_checks_max"
- "pytest_min"
runs-on: ${{ matrix.os }}

steps:
- name: Print environment (debug)
run: env

- name: Fetch sources
uses: actions/checkout@v3
with:
Expand All @@ -73,11 +81,25 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev-noxfile]
pip freeze

- name: Create nox venv
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox --install-only -e "$NOX_SESSION"

- name: Print pip freeze for nox venv (debug)
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: |
. ".nox/$NOX_SESSION/bin/activate"
pip freeze
deactivate

- name: Run nox
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
run: nox -e ci_checks_max pytest_min
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox -R -e "$NOX_SESSION"
timeout-minutes: 10

build:
Expand All @@ -99,6 +121,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U build
pip freeze

- name: Build the source and binary distribution
run: python -m build
Expand Down Expand Up @@ -133,6 +156,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Generate the documentation
env:
Expand Down Expand Up @@ -215,6 +239,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Fetch the gh-pages branch
if: steps.mike-metadata.outputs.version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ jobs:
- ubuntu-20.04
python:
- "3.11"
nox-session:
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
- "ci_checks_max"
- "pytest_min"
runs-on: ${{ matrix.os }}

steps:
- name: Print environment (debug)
run: env

- name: Fetch sources
uses: actions/checkout@v3
with:
Expand All @@ -50,11 +58,25 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev-noxfile]
pip freeze

- name: Create nox venv
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox --install-only -e "$NOX_SESSION"

- name: Print pip freeze for nox venv (debug)
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: |
. ".nox/$NOX_SESSION/bin/activate"
pip freeze
deactivate

- name: Run nox
# To speed things up a bit we use the special ci_checks_max session
# that uses the same venv to run multiple linting sessions
run: nox -e ci_checks_max pytest_min
env:
NOX_SESSION: ${{ matrix.nox-session }}
run: nox -R -e "$NOX_SESSION"
timeout-minutes: 10

build:
Expand All @@ -76,6 +98,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U build
pip freeze

- name: Build the source and binary distribution
run: python -m build
Expand Down Expand Up @@ -110,6 +133,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Generate the documentation
env:
Expand Down Expand Up @@ -192,6 +216,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install .[dev-mkdocs]
pip freeze

- name: Fetch the gh-pages branch
if: steps.mike-metadata.outputs.version
Expand Down
Loading