Skip to content

Commit

Permalink
ci: add shellspec github workflow #7903
Browse files Browse the repository at this point in the history
  • Loading branch information
poikilotherm committed Oct 5, 2021
1 parent 97d1a55 commit 638f14e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/shellspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
jobs:
shellspec-linux:
name: "Linux"
runs-on: ubuntu-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
shellspec
shellspec-macos:
name: "MacOS"
runs-on: macos-10.15
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
shellspec

0 comments on commit 638f14e

Please sign in to comment.