-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (37 loc) · 904 Bytes
/
shelltests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Shelltests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-shelltest
jobs:
run:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install just
uses: extractions/setup-just@v1
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install shelltestrunner
run: brew install shelltestrunner
- name: Build beamup
run: cargo build
- name: Run Shelltests
run: just shelltests
- name: Run MacOS ShellTests
if: ${{ matrix.os == 'macos-latest' }}
run: |
just shelltests-macos