Skip to content

Commit 282cbc5

Browse files
committed
Always run cpu tests
1 parent dad0c07 commit 282cbc5

File tree

3 files changed

+3
-36
lines changed

3 files changed

+3
-36
lines changed

.github/workflows/ci-pytorch_test-conda.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,7 @@ jobs:
4444
- name: Decide if the test should be skipped
4545
id: skip
4646
shell: bash -l {0}
47-
run: |
48-
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
49-
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
50-
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
51-
echo $MATCHES
52-
if [ -z "$MATCHES" ]; then
53-
echo "Skip"
54-
echo "::set-output name=continue::0"
55-
else
56-
echo "Continue"
57-
echo "::set-output name=continue::1"
58-
fi
47+
run: echo "::set-output name=continue::1"
5948

6049
- name: Update base dependencies
6150
if: ${{ (steps.skip.outputs.continue == '1') }}

.github/workflows/ci-pytorch_test-full.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,7 @@ jobs:
4040
- name: Decide if the test should be skipped
4141
id: skip
4242
shell: bash -l {0}
43-
run: |
44-
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
45-
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
46-
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
47-
echo $MATCHES
48-
if [ -z "$MATCHES" ]; then
49-
echo "Skip"
50-
echo "::set-output name=continue::0"
51-
else
52-
echo "Continue"
53-
echo "::set-output name=continue::1"
54-
fi
43+
run: echo "::set-output name=continue::1"
5544

5645
- name: Set up Python ${{ matrix.python-version }}
5746
if: ${{ (steps.skip.outputs.continue == '1') }}

.github/workflows/ci-pytorch_test-slow.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,7 @@ jobs:
3535
- name: Decide if the test should be skipped
3636
id: skip
3737
shell: bash -l {0}
38-
run: |
39-
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
40-
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
41-
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
42-
echo $MATCHES
43-
if [ -z "$MATCHES" ]; then
44-
echo "Skip"
45-
echo "::set-output name=continue::0"
46-
else
47-
echo "Continue"
48-
echo "::set-output name=continue::1"
49-
fi
38+
run: echo "::set-output name=continue::1"
5039

5140
- uses: actions/setup-python@v2
5241
if: ${{ (steps.skip.outputs.continue == '1') }}

0 commit comments

Comments
 (0)