mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
18 lines
430 B
Bash
Executable File
18 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source common.rc
|
|
|
|
function run_test() {
|
|
mkdir data/tsv
|
|
dvc-run --code code/xmltotsv.py python code/xmltotsv.py --extract row/@Id,row/@UserId,row/@Name,row/@Class,row/@TagBased,row/@Date data/xml/Badges.xml data/tsv/Badges.tsv
|
|
|
|
echo " " >> code/xmltotsv.py
|
|
git commit -am 'Change code'
|
|
dvc-repro data/tsv/Badges.tsv
|
|
|
|
}
|
|
|
|
TEST_REPO=repo_repro_test
|
|
create_repo
|
|
(cd repo_repro_test; run_test)
|