We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ca4d1 commit b68f23eCopy full SHA for b68f23e
1 file changed
.github/workflows/python-app.yml
@@ -25,5 +25,16 @@ jobs:
25
python -m pip install --upgrade pip
26
pip install poetry tox
27
poetry install
28
+ - name: Cache tox environments
29
+ id: cache-tox
30
+ uses: actions/cache@v1
31
+ with:
32
+ path: .tox
33
+ # setup.cfg, pyproject.toml, and .pre-commit-config.yaml have
34
+ # versioning info that would impact the tox environment. hashFiles
35
+ # only takes a single file path or pattern at the moment.
36
+ key: ${{ runner.os }}-${{ matrix.python }}-tox-${{ hashFiles('setup.cfg') }}-${{ hashFiles('pyproject.toml') }}
37
+
38
39
- name: Run Tox
40
run: tox -- --no-cov
0 commit comments