Skip to content

Text changes to address #11046 #156

Text changes to address #11046

Text changes to address #11046 #156

Workflow file for this run

name: "Shellspec"
on:
push:
paths:
- tests/shell/**
- conf/solr/**
# add more when more specs are written relying on data
pull_request:
paths:
- tests/shell/**
- conf/solr/**
# add more when more specs are written relying on data
env:
SHELLSPEC_VERSION: 0.28.1
jobs:
shellspec-ubuntu:
name: "Ubuntu"
runs-on: ubuntu-latest
steps:
- name: Install shellspec
run: curl -fsSL https://git.io/shellspec | sh -s ${{ env.SHELLSPEC_VERSION }} --yes
- uses: actions/checkout@v2
- name: Run Shellspec
run: |
cd tests/shell
shellspec
shellspec-rocky9:
name: "RockyLinux 9"
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9
steps:
- uses: actions/checkout@v2
- name: Install shellspec
run: |
curl -fsSL https://github.com/shellspec/shellspec/releases/download/${{ env.SHELLSPEC_VERSION }}/shellspec-dist.tar.gz | tar -xz -C /usr/share
ln -s /usr/share/shellspec/shellspec /usr/bin/shellspec
- name: Install dependencies
run: dnf install -y ed bc diffutils
- name: Run shellspec
run: |
cd tests/shell
shellspec
shellspec-macos:
name: "MacOS"
runs-on: macos-latest
steps:
- name: Install shellspec
run: curl -fsSL https://git.io/shellspec | sh -s 0.28.1 --yes
- uses: actions/checkout@v2
- name: Run Shellspec
run: |
cd tests/shell
/Users/runner/.local/bin/shellspec