5555 - ubuntu-20.04
5656 python :
5757 - " 3.11"
58+ nox-session :
59+ # To speed things up a bit we use the special ci_checks_max session
60+ # that uses the same venv to run multiple linting sessions
61+ - " ci_checks_max"
62+ - " pytest_min"
5863 runs-on : ${{ matrix.os }}
5964
6065 steps :
66+ - name : Print environment (debug)
67+ run : env
68+
6169 - name : Fetch sources
6270 uses : actions/checkout@v3
6371 with :
@@ -73,11 +81,25 @@ jobs:
7381 run : |
7482 python -m pip install --upgrade pip
7583 python -m pip install -e .[dev-noxfile]
84+ pip freeze
85+
86+ - name : Create nox venv
87+ env :
88+ NOX_SESSION : ${{ matrix.nox-session }}
89+ run : nox --install-only -e "$NOX_SESSION"
90+
91+ - name : Print pip freeze for nox venv (debug)
92+ env :
93+ NOX_SESSION : ${{ matrix.nox-session }}
94+ run : |
95+ . ".nox/$NOX_SESSION/bin/activate"
96+ pip freeze
97+ deactivate
7698
7799 - name : Run nox
78- # To speed things up a bit we use the special ci_checks_max session
79- # that uses the same venv to run multiple linting sessions
80- run : nox -e ci_checks_max pytest_min
100+ env :
101+ NOX_SESSION : ${{ matrix.nox-session }}
102+ run : nox -R -e "$NOX_SESSION"
81103 timeout-minutes : 10
82104
83105 build :
99121 run : |
100122 python -m pip install -U pip
101123 python -m pip install -U build
124+ pip freeze
102125
103126 - name : Build the source and binary distribution
104127 run : python -m build
@@ -133,6 +156,7 @@ jobs:
133156 run : |
134157 python -m pip install -U pip
135158 python -m pip install .[dev-mkdocs]
159+ pip freeze
136160
137161 - name : Generate the documentation
138162 env :
@@ -215,6 +239,7 @@ jobs:
215239 run : |
216240 python -m pip install -U pip
217241 python -m pip install .[dev-mkdocs]
242+ pip freeze
218243
219244 - name : Fetch the gh-pages branch
220245 if : steps.mike-metadata.outputs.version
0 commit comments