Skip to content

Commit ca9c525

Browse files
committed
A/B bar charts
1 parent 80c6461 commit ca9c525

3 files changed

Lines changed: 407 additions & 155 deletions

File tree

.github/workflows/tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,19 @@ jobs:
5757
if [[ "$COMMIT" == *"test-upstream"* || ${{ github.event_name }} == "schedule" ]]
5858
then
5959
export TEST_UPSTREAM="true"
60+
export AB_BASELINE="coiled-upstream-py3.9 coiled-latest-py3.9 coiled-0.1.0-py3.9"
6061
else
6162
export TEST_UPSTREAM="false"
63+
export AB_BASELINE="coiled-latest-py3.9 coiled-0.1.0-py3.9"
6264
fi
6365
6466
# Put TEST_UPSTREAM into $GITHUB_ENV so it can be used in subsequent workflow steps
6567
echo $TEST_UPSTREAM
6668
echo TEST_UPSTREAM=$TEST_UPSTREAM >> $GITHUB_ENV
6769
68-
# Put TEST_UPSTREAM into a file so it can be downloaded in subsequent workflow jobs
70+
# Put env variables into files so it can be downloaded in subsequent workflow jobs
6971
echo $TEST_UPSTREAM > test_upstream.txt
72+
echo $AB_BASELINE > ab_baseline.txt
7073
7174
- name: Build Coiled Software Environment
7275
env:
@@ -104,6 +107,7 @@ jobs:
104107
latest.yaml
105108
software_name.txt
106109
test_upstream.txt
110+
ab_baseline.txt
107111
108112
runtime:
109113
name: Runtime - ${{ matrix.os }}, Python ${{ matrix.python-version }}, Runtime ${{ matrix.runtime-version }}
@@ -457,9 +461,14 @@ jobs:
457461
python-version: "3.9"
458462
environment-file: ci/environment-dashboard.yml
459463

464+
- name: Download software environment assets
465+
uses: actions/download-artifact@v3
466+
with:
467+
name: software-environment-py3.9
468+
460469
- name: Generate dashboards
461470
run: |
462-
python dashboard.py
471+
python dashboard.py -d benchmark.db -o static -b <(cat ab_baseline.txt)
463472
464473
- name: Deploy 🚀
465474
uses: JamesIves/github-pages-deploy-action@4.1.7

ci/environment-dashboard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- dask
1212
- dask-ml
1313
- distributed
14+
- xarray
1415
- xgboost
1516
- pandas
1617
- tabulate

0 commit comments

Comments
 (0)