equinor / equinor/everest-tutorials

Linting EVEREST configuration files on changes or overnight

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Assembly
Stars
3
Forks
2
Avg merge
1h 23m
Merged PRs (30d)
1

Description

The EVEREST configuration cases can be linted whenever there is a commit, a pull request or overnight using GHA. This is a faster and less computationally intensive way to flag for errors in the config.

Initial proposal with GHA:

```yaml
- name: lint everest configs
run: |
git clone https://github.com/equinor/everest-tutorials.git
TUTORIAL_PATH=$(pwd)/everest-tutorials/data/drogon

echo "Linting $TUTORIAL_PATH/well_rate/everest/model/drogon_wellrate.yml"
config=$TUTORIAL_PATH/well_rate/everest/model/drogon_wellrate.yml
sed -i '/^ simulation_folder:/d' $config
everest lint $config
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.