Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Update sphinx requirement from !=5.1.0,<7.1.2,>=4 to >=4,!=5.1.0,<7.1.3 #21

Update sphinx requirement from !=5.1.0,<7.1.2,>=4 to >=4,!=5.1.0,<7.1.3

Update sphinx requirement from !=5.1.0,<7.1.2,>=4 to >=4,!=5.1.0,<7.1.3 #21

Workflow file for this run

name: compare-metrics
on:
pull_request:
branches:
- main
env:
MLFLOW_TRACKING_URI: ~/mlruns/
PUDL_OUTPUT: ~/pudl-work/output/
PUDL_INPUT: ~/pudl-work/data/
EXPERIMENT_COMPARISON: ~/experiment_tracking.md
jobs:
ci-compare-metrics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up conda environment for testing
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
python-version: "3.11"
activate-environment: ferc1_eia_match
environment-file: environment.yml
- shell: bash -l {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
ls /usr/share/miniconda3/envs/ferc1_eia_match/bin/
- name: Download PUDL DB and log pre-test PUDL workspace contents
run: |
mkdir -p ~/pudl-work/output/
curl -o ~/pudl-work/output/pudl.sqlite http://intake.catalyst.coop.s3.amazonaws.com/dev/pudl.sqlite
find ~/pudl-work/
- name: Log SQLite3 version
run: |
conda run -n ferc1_eia_match which sqlite3
conda run -n ferc1_eia_match sqlite3 --version
- name: Restore metrics
id: cache-metrics-restore
uses: actions/cache/restore@v3
with:
path: $MLFLOW_TRACKING_URI
key: ${{ runner.os }}-metrics
- name: Compute metrics
id: compute-metrics
run: |
conda run -v --live-stream -n ferc1_eia_match compute_metrics --mlrun_uri $MLFLOW_TRACKING_URI
- name: Compare metrics
id: compare-metrics
run: |
conda run -v --live-stream -n ferc1_eia_match compare_metrics ${{github.event.pull_request.base.sha}} ${{github.sha}} --output-file $EXPERIMENT_COMPARISON --mlrun_uri $MLFLOW_TRACKING_URI
- name: Attach report
id: attach-report
run: cat $EXPERIMENT_COMPARISON >> $GITHUB_STEP_SUMMARY