Skip to content

Commit 013fd98

Browse files
Merge pull request #1624 from PyTorchLightning/tests/cache
resume GH action
2 parents 4c4d0e6 + b19d61c commit 013fd98

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci-testing.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI testing
22

3-
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
3+
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
44
on:
55
# Trigger the workflow on push or pull request,
66
# but only for the master branch
@@ -63,12 +63,12 @@ jobs:
6363
# Note: This uses an internal pip API and may not always work
6464
# https://github.com/actions/cache/blob/master/examples.md#multiple-oss-in-a-workflow
6565
- name: Get pip cache
66-
id: pip-cache
67-
run: |
68-
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
66+
id: pip-cache
67+
run: |
68+
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
6969
7070
- name: Cache pip
71-
- uses: actions/cache@v1
71+
uses: actions/cache@v1
7272
with:
7373
path: ${{ steps.pip-cache.outputs.dir }}
7474
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-extra.txt') }}
@@ -116,7 +116,6 @@ jobs:
116116
python setup.py check --metadata --strict
117117
python setup.py sdist
118118
twine check dist/*
119-
120119
#- name: Try install package
121120
# if: ! startsWith(matrix.os, 'windows')
122121
# run: |
@@ -127,4 +126,4 @@ jobs:
127126
- name: Statistics
128127
if: success()
129128
run: |
130-
coverage report
129+
coverage report

0 commit comments

Comments
 (0)