Skip to content

Removes separate VISSL caching and adds file_name to torch.hub.load_state_dict_from_url everywhere #1011

Removes separate VISSL caching and adds file_name to torch.hub.load_state_dict_from_url everywhere

Removes separate VISSL caching and adds file_name to torch.hub.load_state_dict_from_url everywhere #1011

Workflow file for this run

name: Code Coverage
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.9'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Generate coverage report
run: |
pip install coverage
coverage run -m unittest discover tests
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
files: ./coverage.xml
name: codecov-umbrella
verbose: true