Skip to content

update citation links/fencing #178

update citation links/fencing

update citation links/fencing #178

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Attempt to remove big files
run: sh -c "$(curl -sSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh)"
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install gdal
run: sudo apt-get -y -qq -o Acquire::Retries=3 install gdal-bin
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install torch torchvision
python -m pip install -r requirements.txt
python -m pip install -e .[test,doc]
- name: Test with pytest
env: # HuggingFace Hub login
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
wandb offline
pip install pytest
pip install pytest-cov
python -m pytest
- name: Test generate dataset
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run:
python tools/generate_dataset.py --folds restor/tcd restor/tcd-nc restor/tcd-sa dataset