Skip to content

Commit

Permalink
ci: purge ref. cache & skip flaky link
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jun 4, 2024
1 parent 703423a commit 1b77689
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .azure/gpu-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
timeoutInMinutes: "5"
# if pull request, copy the cache to the tests folder to be used in the next steps
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: "Copy cached refs"
displayName: "Copy/Unzip cached refs"
- bash: |
python -m pytest torchmetrics --cov=torchmetrics \
Expand Down Expand Up @@ -202,6 +202,10 @@ jobs:
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: "Update cached refs"
- bash: |
rm -rf tests/_cache-references/
displayName: "Purge cached refs"
- bash: |
python -m coverage report
python -m coverage xml
Expand Down
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,4 +439,6 @@ def linkcode_resolve(domain, info) -> Optional[str]: # noqa: ANN001
"https://www.sciencedirect.com/science/article/pii/S0047259X08000456",
# chrF++: words helping character n-grams
"https://aclanthology.org/W17-4770",
# A wavelet transform method to merge Landsat TM and SPOT panchromatic data
"https://www.ingentaconnect.com/content/tandf/tres/1998/00000019/00000004/art00013",
]

0 comments on commit 1b77689

Please sign in to comment.