Skip to content

Commit

Permalink
dev: Routinely check that the latest package is initially installable…
Browse files Browse the repository at this point in the history
…to catch issues¹ earlier.  Since successful installation relies on
external resources out of our control, we want to regularly test it to
ensure we know when an external change breaks it.

¹ e.g. <nextstrain/mpox#177>
  • Loading branch information
tsibley committed Sep 15, 2023
1 parent 758d623 commit e2091c6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/installation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Installation

on:
# Routinely check that the latest package is initially installable, to catch
# issues like <https://github.com/nextstrain/monkeypox/issues/177> earlier.
schedule:
# Every day at 17:42 UTC / 9:42 Seattle (winter) / 10:42 Seattle (summer)
- cron: "42 17 * * *"

workflow_dispatch:

jobs:
# The goal here is to make sure installation continues to work successfully
# on a variety of OS versions. We're _not_ testing unreleased package builds
# here—the packages are downloaded from our Anaconda channel—which is why
# this isn't part of CI.
# -trs, 29 August 2022
test:
name: test (os=${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12

runs-on: ${{matrix.os}}
steps:
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master
with:
runtime: conda

0 comments on commit e2091c6

Please sign in to comment.