Skip to content

Commit 3535ab5

Browse files
committed
making tests not fail
1 parent a4b8be1 commit 3535ab5

3 files changed

Lines changed: 22 additions & 14 deletions

File tree

.github/workflows/new_problem_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: New Problem Check
22

33
on:
44
push:
5+
branches:
6+
- main
57
paths:
68
- "utils/new_problem.yaml"
79
pull_request:
@@ -32,6 +34,7 @@ jobs:
3234
pip install -r utils/requirements.txt
3335
3436
- name: Run New Problem Check
37+
if: ${{ hashFiles('utils/new_problem.yaml') != '' }}
3538
run: |
3639
python utils/validate_yaml.py utils/new_problem.yaml
3740

utils/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,22 @@ This script checks the new content for the following:
2929
pip install -r utils/requirements.txt
3030
python utils/validate_yaml.py utils/new_problem.yaml
3131
```
32+
33+
## new problem example
34+
35+
```json
36+
- name: template
37+
suite/generator/single: suite
38+
objectives: '1'
39+
dimensionality: scalable
40+
variable type: continuous
41+
constraints: 'no'
42+
dynamic: 'no'
43+
noise: 'no'
44+
multimodal: 'yes'
45+
multi-fidelity: 'no'
46+
reference: ''
47+
implementation: ''
48+
source (real-world/artificial): ''
49+
textual description: 'This is a dummy template'
50+
``

utils/new_problem.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)