Skip to content

Commit

Permalink
Add an extra workflow for exit-status tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbax189 committed Dec 12, 2024
1 parent 49b1092 commit 561a100
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/test_exit-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Test Exit Status of Commands

on:
push:
branches:
- master
paths:
- 'eask'
- '**.yml'
- lisp/**
- cmds/**
- src/**
- test/**
pull_request:
branches:
- master
paths-ignore:
- '**.md'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
emacs-version:
- 29.4

steps:
- uses: jcs090218/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}

- uses: actions/checkout@v4

- name: Prepare Eask (Unix)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
chmod -R 777 ./
.github/scripts/setup-eask
- name: Prepare Eask (Windows)
if: matrix.os == 'windows-latest'
run: .github/scripts/setup-eask.ps1

- name: Testing...
run: |
make test-exit-status
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,24 @@ test-buttercup:

test-ecukes:
./test/commands/test/ecukes/run.sh

test-exit-status:
./test/exit-status/analyze/run.sh
./test/exit-status/clean/run.sh
./test/exit-status/compile/run.sh
./test/exit-status/create/run.sh
./test/exit-status/eval/run.sh
./test/exit-status/fixtures/run.sh
./test/exit-status/format/run.sh
./test/exit-status/generate/run.sh
./test/exit-status/install/run.sh
./test/exit-status/install-deps/run.sh
./test/exit-status/link/run.sh
./test/exit-status/lint/run.sh
./test/exit-status/load/run.sh
./test/exit-status/package/run.sh
./test/exit-status/refresh/run.sh
./test/exit-status/reinstall/run.sh
./test/exit-status/run/run.sh
./test/exit-status/test/run.sh
./test/exit-status/uninstall/run.sh

0 comments on commit 561a100

Please sign in to comment.