Spaces:
Running
Running
Andrea Maldonado
commited on
Commit
·
5b8d6a8
1
Parent(s):
d524d16
Adds grid experiments script test
Browse files
.github/workflows/test_gedi.yml
CHANGED
@@ -169,3 +169,32 @@ jobs:
|
|
169 |
- name: Run test
|
170 |
run:
|
171 |
python main.py -o config_files/options/baseline.json -a config_files/algorithm/experiment_test.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
- name: Run test
|
170 |
run:
|
171 |
python main.py -o config_files/options/baseline.json -a config_files/algorithm/experiment_test.json
|
172 |
+
|
173 |
+
test_grid_experiments_script:
|
174 |
+
runs-on: ubuntu-latest
|
175 |
+
|
176 |
+
# Setting up a python envronment for the test script to run
|
177 |
+
steps:
|
178 |
+
- name: Checkout code
|
179 |
+
uses: actions/checkout@v4
|
180 |
+
|
181 |
+
- name: Set up Python
|
182 |
+
uses: actions/setup-python@v5
|
183 |
+
with:
|
184 |
+
python-version: 3.9
|
185 |
+
|
186 |
+
- name: Install dependencies
|
187 |
+
run: |
|
188 |
+
sudo apt-get install build-essential python3 python3-dev
|
189 |
+
|
190 |
+
- name: Install feeed
|
191 |
+
run: |
|
192 |
+
python -m pip install --upgrade pip
|
193 |
+
pip install .
|
194 |
+
|
195 |
+
- name: Run test
|
196 |
+
run:
|
197 |
+
python execute_grid_experiments.py
|
198 |
+
|
199 |
+
- name: Compare output
|
200 |
+
run: diff data/validation/2_ense_enseef_feat.csv output/features/generated/2_bpic_features/2_ense_enseef_feat.csv
|