Skip to content

Commit

Permalink
Break up large test case to save on disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Aug 14, 2024
1 parent 8196fb8 commit 4d3f617
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
set -x
which pytest
mkdir .metaflow
pytest -n 2 tests
pytest -n 4 tests
1 change: 1 addition & 0 deletions tests/checks/conda-pkg-corner-case.txt.check
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
transnetv2,1.0.0,1.0.0
1 change: 1 addition & 0 deletions tests/checks/git-repo-corner-case.txt.check
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clip,1.0,1.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
foo,1.0.0,1.0.0
outlier_detector,0.0.3,0.0.3
transnetv2,1.0.0,1.0.0
clip,1.0,1.0
4 changes: 4 additions & 0 deletions tests/environments/conda-pkg-corner-case.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# A conda package in a pure pip env
--conda-pkg git-lfs
# Needs LFS to build
transnetv2 @ git+https://github.com/soCzech/TransNetV2.git#main
10 changes: 0 additions & 10 deletions tests/environments/corner-cases.txt

This file was deleted.

2 changes: 2 additions & 0 deletions tests/environments/git-repo-corner-case.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GIT repo
clip @ git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
4 changes: 4 additions & 0 deletions tests/environments/other-builds-corner-case.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Source only distribution
outlier-detector==0.0.3
# Local package
foo @ file:///tmp/build_foo_pkg

0 comments on commit 4d3f617

Please sign in to comment.