Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix dataset downloading errors #387

Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
26e5532
Create branch ci/fix-dataset-caching
akihironitta Nov 20, 2020
ec44147
Set LitMNIST tests datadir
akihironitta Nov 20, 2020
5d7c622
Disable doctest in the full tests
akihironitta Nov 20, 2020
d8d7706
Push an empty commit to rerun ci
akihironitta Nov 20, 2020
257a0db
miss
Borda Nov 22, 2020
faeebf2
Use ./datasets/ in the doctests
akihironitta Nov 26, 2020
6828ed8
ls datasets
akihironitta Nov 26, 2020
3c0ea22
ls datasets/*
akihironitta Nov 26, 2020
15fc3a2
ls for win?
akihironitta Nov 26, 2020
ec400ff
Apply suggestions from code review
Borda Nov 27, 2020
3c5acef
Apply suggestions from code review
Borda Nov 27, 2020
ece43be
skip
Borda Nov 27, 2020
d49d394
Update ci_test-full.yml
Borda Nov 27, 2020
47ae5ae
Update ci_test-full.yml
Borda Nov 27, 2020
4dc0102
make case insensitive
akihironitta Nov 27, 2020
1e75de5
rubbish into /dev/null
akihironitta Nov 27, 2020
e26dcc6
dont fail on "Check cached datasets"
akihironitta Nov 27, 2020
4de03ec
Revert 'dont fail on "Check cached datasets"'
akihironitta Nov 27, 2020
8084d9a
Update ci_test-full.yml
akihironitta Nov 27, 2020
4fcd604
dont fail on "Check cached datasets"
akihironitta Dec 3, 2020
064c25b
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
b031e5e
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
b08bd07
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
57ea44a
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
30a7f6d
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
03fdeab
Push an empty commit to rerun ci
akihironitta Dec 3, 2020
6809f60
Revert unrelated to this PR
akihironitta Dec 5, 2020
bcec793
Revert unrelated to this PR
akihironitta Dec 5, 2020
1936cb5
Push an empty commit to rerun ci
akihironitta Dec 5, 2020
8d39c65
Disable find
akihironitta Dec 5, 2020
0346211
Exit pytest on the first fail
akihironitta Dec 5, 2020
e4d7aba
Show data size in datasets
akihironitta Dec 5, 2020
308129c
Push an empty commit to rerun ci
akihironitta Dec 5, 2020
005db66
Push an empty commit to rerun ci
akihironitta Dec 5, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 27 additions & 1 deletion .github/workflows/ci_test-full.yml
Expand Up @@ -80,12 +80,38 @@ jobs:
path: ./datasets
key: pl-datasets-${{ hashFiles('tests/conftest.py') }}

- name: Check cached datasets
shell: bash
run: |
ls -lh
echo =======
ls -lh datasets
echo ======
if command -v asdf >/dev/null; then du datasets; fi
# Commented out because the below lines takes too long on macOS and Windows for unknown reason.
#echo =======
#find / -iname "MNIST" 2> /dev/null || echo mnist not found
#find / -iname "CIFAR10" 2> /dev/null || echo cifar10 not found

- name: Tests
run: |
# tox --sitepackages
coverage run --source pl_bolts -m py.test pl_bolts tests -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}.xml
coverage run --source pl_bolts -m pytest pl_bolts tests -x -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}.xml
coverage xml

- name: Check cached datasets
shell: bash
run: |
ls -lh
echo =======
ls -lh datasets
echo =======
if command -v asdf >/dev/null; then du datasets; fi
# Commented out because the below lines takes ages on macOS and Windows for unknown reason.
#echo =======
#find / -iname "MNIST" 2> /dev/null || echo mnist not found
#find / -iname "CIFAR10" 2> /dev/null || echo cifar10 not found

- name: Upload pytest test results
uses: actions/upload-artifact@v2
with:
Expand Down