-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/instances: Add tests for postprocessing instances
- Loading branch information
1 parent
aaacb86
commit a83a4b2
Showing
12 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
tests/instances/experiments_ymls/postprocess/experiments.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This file contains postprocessed SNAP, local, multiple extension | ||
# arbitrary file, URL and Git instances. | ||
instances: | ||
# SNAP Instances | ||
- repo: snap | ||
items: | ||
- 'facebook_combined' | ||
- 'cit-HepTh' | ||
postprocess: to_edgelist | ||
- repo: snap | ||
items: | ||
- 'ca-CondMat' | ||
- 'cit-HepPh' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE@'] | ||
# Local Instances | ||
- repo: local | ||
items: | ||
- 'instance1' | ||
- 'instance2' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE@'] | ||
# Multiple Extensions | ||
- repo: local | ||
extensions: | ||
- 'graph' | ||
- 'xyz' | ||
items: | ||
- 'instance3' | ||
- 'instance4' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE:graph@'] | ||
- args: ['echo', '2', '@INSTANCE:xyz@'] | ||
# Arbitrary Files | ||
- repo: local | ||
items: | ||
- name: foo | ||
files: | ||
- 'instance5' | ||
- 'instance6' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE:0@'] | ||
- args: ['echo', '2', '@INSTANCE:1@'] | ||
# URL Instances | ||
- method: url | ||
url: 'https://raw.githubusercontent.com/hu-macsy/simexpal/master/simexpal/schemes/@INSTANCE_FILENAME@' | ||
items: | ||
- 'experiments.json' | ||
- 'launchers.json' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE@'] | ||
# Git Instances | ||
- method: git | ||
git: 'https://github.com/hu-macsy/simexpal' | ||
repo_name: 'foo' | ||
commit: 'master' | ||
items: | ||
- 'setup.py' | ||
- 'pytest.ini' | ||
postprocess: | ||
- args: ['echo', '1', '@INSTANCE@'] | ||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters