@@ -27,49 +27,53 @@ jobs:
2727 uses : actions/setup-python@v4
2828 with :
2929 python-version : ${{ matrix.python-version }}
30+
3031 - name : Env-Inspect1 (py${{ matrix.python-version }})
31- run : (env | sort; echo "---- "; which tox; echo "---- "; which poetry) || true
32- - name : Find1 (py${{ matrix.python-version }})
32+ run : (echo "\n--- env"; env | sort; echo "\n --- tox "; which tox; echo "\n --- poetry "; which poetry) || true
33+ - name : File-Inspect1 (py${{ matrix.python-version }})
3334 run : find .
35+
3436 - name : Load cached Poetry installation
3537 id : cached-poetry
3638 uses : actions/cache@v3
3739 with :
3840 path : .venv # the path depends on the OS
3941 key : poetry-3 # increment to reset cache
40- - name : Find2 (py${{ matrix.python-version }})
41- run : find .
4242 - name : Install Poetry
4343 if : steps.cached-poetry.outputs.cache-hit != 'true'
4444 uses : snok/install-poetry@v1
4545 with :
4646 version : 1.7.0
4747 virtualenvs-create : true
4848 virtualenvs-in-project : true # create .venv in test directory
49- - name : Tox env2 (py${{ matrix.python-version }})
50- run : env
5149 - name : Install Poetry development dependencies # main dependencies are handled by tox
5250 if : steps.cached-poetry.outputs.cache-hit != 'true'
5351 run : poetry install --no-interaction --no-root --only=dev
52+
53+ - name : Env-Inspect2 (py${{ matrix.python-version }})
54+ run : (echo "\n--- env"; env | sort; echo "\n--- tox"; which tox; echo "\n--- poetry"; which poetry) || true
55+ - name : File-Inspect2 (py${{ matrix.python-version }})
56+ run : find .
57+
5458 - name : Activate Poetry development dependencies # main dependencies are handled by tox
5559 if : steps.cached-poetry.outputs.cache-hit == 'true'
5660 run : source .venv/bin/activate
57- - name : Find3 (py${{ matrix.python-version }})
61+
62+ - name : Env-Inspect3 (py${{ matrix.python-version }})
63+ run : (echo "\n--- env"; env | sort; echo "\n--- tox"; which tox; echo "\n--- poetry"; which poetry) || true
64+ - name : File-Inspect3 (py${{ matrix.python-version }})
5865 run : find .
59- - name : Tox env3 (py${{ matrix.python-version }})
60- run : env
66+
6167 - name : Load cached tox environment
6268 id : cached-toxenv
6369 uses : actions/cache@v3
6470 with :
6571 path : .tox/py${{ matrix.python-version }}-**
6672 key : toxenv-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock', 'tox.ini') }}
67- - name : Tox id1 (py${{ matrix.python-version }})
68- run : which tox || true
69- - name : Tox id2 (py${{ matrix.python-version }})
70- run : poetry run which tox || true
73+
7174 - name : Tox tests (py${{ matrix.python-version }})
7275 run : poetry run tox
76+
7377 - name : Send coverage reports to Codecov
7478 uses : codecov/codecov-action@v3
7579 with :
7983 # name: codecov-umbrella # optional
8084 fail_ci_if_error : false
8185 verbose : true
82- - name : WTF1 (py${{ matrix.python-version }})
83- run : ls -al manifest.txt || true
84- - name : WTF2 (py${{ matrix.python-version }})
85- run : cat manifest.txt || true
86+
87+ - name : Env-Inspect4 (py${{ matrix.python-version }})
88+ run : (echo "\n--- env"; env | sort; echo "\n--- tox"; which tox; echo "\n--- poetry"; which poetry) || true
89+ - name : File-Inspect4 (py${{ matrix.python-version }})
90+ run : find .
0 commit comments