add toggle to switch between formation energy and convex hull distanc… #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Scripts | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
script: | |
- scripts/model_figs/make_metrics_tables.py | |
- scripts/model_figs/rolling_mae_vs_hull_dist_models.py | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install package and dependencies | |
run: pip install -e .[fetch-data] | |
- name: Run script | |
run: python ${{ matrix.script }} | |
env: | |
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }} |