use Docker images in coverall testing
@@ -33,7 +33,7 @@ jobs:
name: unit test
runs-on: ubuntu-latest
container:
- image: ggraffieti/avalanche-ds:latest
+ image: continualai/avalanche-test-${{ matrix.python-version }}:latest
strategy:
fail-fast: false
matrix:
@@ -45,22 +45,6 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- - name: copy dataset in correct folder
- run: cp -r /~/.avalanche /github/home
- - name: install conda environment < 3.9
- if: matrix.python-version != '3.9'
- run: |
- conda create -n avalanche-env python=${{ matrix.python-version }} -c conda-forge
- conda activate avalanche-env
- conda install pytorch=1.8.1 torchvision=0.9.1 cpuonly -c pytorch -y
- conda env update --file environment.yml
- - name: install conda environment = 3.9
- if: matrix.python-version == '3.9'
- run: |
- conda create -n avalanche-env python=${{ matrix.python-version }} -c conda-forge
- conda activate avalanche-env
- conda install pytorch torchvision cpuonly -c pytorch -c=conda-forge -y
- conda env update --file environment.yml
- name: install coverage.py and coverralls
run: |
conda activate avalanche-env
