Skip to content

task: Add GitHub Action tests for install.sh #156

@lbeckman314

Description

@lbeckman314

Overview 🌀

Users have encountered issues when running the install script due to fragile asset fetching (e.g. not supporting an optional v prefix in release names as part of Semantic Versioning)

Let's add a GitHub Actions tests to verify that all git-drs releases can be installed successfully across all environments (e.g. Linux/macOS, AMD/ARM):

macOS 🍎

➜ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/calypr/git-drs/refs/heads/main/install.sh)"
Installing git-drs
No version specified. Fetching the latest release → 0.5.4
Downloading git-drs for darwin arm64
Installation successful: $HOME/.local/bin/git-drs

Run 'git-drs --help' for more info

➜ which git-drs
$HOME/.local/bin/git-drs

➜ git-drs
Git DRS provides the benefits of Git-LFS file management using DRS for seamless integration with Gen3 servers

Linux (ARC) 🐧

➜ ssh arc

➜ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/calypr/git-drs/refs/heads/main/install.sh)"
Installing git-drs
No version specified. Fetching the latest release → 0.5.4
Downloading git-drs for linux amd64
Installation successful: $HOME/.local/bin/git-drs

Run 'git-drs --help' for more info

➜ which git-drs
~/.local/bin/git-drs

➜ git-drs

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions