Skip to content

Self update functionality #54

Self update functionality

Self update functionality #54

Workflow file for this run

name: "Shellspec"
on: [push, pull_request]
env:
SHELLSPEC_VERSION: 0.28.1
TERM: xterm-256color
HOMEBREW_NO_AUTO_UPDATE: 1
jobs:
shellspec-macos:
name: "MacOS"
runs-on: macos-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install shellspec
run: |
echo "${HOME}/.local/bin" >> "$GITHUB_PATH"
# brew update
brew install bash
brew install kcov
curl -fsSL https://git.io/shellspec | sh -s ${{ env.SHELLSPEC_VERSION }} --yes
- name: Run shellspec Tests
run: |
shellspec
shellspec-ubuntu:
name: "Ubuntu"
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install shellspec
run: |
echo "${HOME}/.local/bin" >> "$GITHUB_PATH"
curl -fsSL https://git.io/shellspec | sh -s ${{ env.SHELLSPEC_VERSION }} --yes
sudo apt-get update
sudo apt-get install kcov
- name: Run shellspec tests
run: |
shellspec