mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
functest: fix existing scripts
A few minor adjustments to make what we currently have work, while I prepare new func tests. Fixes #175 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
source common.rc
|
||||
source common.sh
|
||||
|
||||
rm -rf $RAW_DATA_LOCAL $CODE_LOCAL $TEST_REPO
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
BASE_DIR_S3=https://s3-us-west-2.amazonaws.com/dataversioncontrol/functests
|
||||
RAW_DATA_S3=$BASE_DIR_S3/stackoverflow_raw_small
|
||||
@@ -17,7 +20,7 @@ function _init_repo() {
|
||||
|
||||
dvc_info 'import xml files'
|
||||
mkdir data/xml
|
||||
dvc data-import ../$RAW_DATA_LOCAL/* data/xml
|
||||
dvc import ../$RAW_DATA_LOCAL/* data/xml
|
||||
|
||||
dvc_info 'copy code'
|
||||
mkdir code
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source common.rc
|
||||
source common.sh
|
||||
|
||||
./clean.sh
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source common.rc
|
||||
set -e
|
||||
|
||||
source common.sh
|
||||
|
||||
function run_test() {
|
||||
mkdir data/tsv
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# 1. First ML model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user