Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,19 @@ jobs:
if [[ "$COMMIT" == *"test-upstream"* || ${{ github.event_name }} == "schedule" ]]
then
export TEST_UPSTREAM="true"
export AB_BASELINE="coiled-upstream-py3.9 coiled-0.1.0-py3.9"
else
export TEST_UPSTREAM="false"
export AB_BASELINE="coiled-0.1.0-py3.9"
fi

# Put TEST_UPSTREAM into $GITHUB_ENV so it can be used in subsequent workflow steps
echo $TEST_UPSTREAM
echo TEST_UPSTREAM=$TEST_UPSTREAM >> $GITHUB_ENV

# Put TEST_UPSTREAM into a file so it can be downloaded in subsequent workflow jobs
# Put env variables into files so it can be downloaded in subsequent workflow jobs
echo $TEST_UPSTREAM > test_upstream.txt
echo $AB_BASELINE > ab_baseline.txt

- name: Build Coiled Software Environment
env:
Expand Down Expand Up @@ -104,6 +107,7 @@ jobs:
latest.yaml
software_name.txt
test_upstream.txt
ab_baseline.txt

runtime:
name: Runtime - ${{ matrix.os }}, Python ${{ matrix.python-version }}, Runtime ${{ matrix.runtime-version }}
Expand Down Expand Up @@ -457,9 +461,14 @@ jobs:
python-version: "3.9"
environment-file: ci/environment-dashboard.yml

- name: Download software environment assets
uses: actions/download-artifact@v3
with:
name: software-environment-py3.9

- name: Generate dashboards
run: |
python dashboard.py
python dashboard.py -d benchmark.db -o static -b <(cat ab_baseline.txt)

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.7
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ venv.bak/
# Rope project settings
.ropeproject

# PyCharm project settings
.idea

# mkdocs documentation
/site

Expand Down
1 change: 1 addition & 0 deletions ci/environment-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- dask
- dask-ml
- distributed
- xarray
- xgboost
- pandas
- tabulate
Loading