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 570077d
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
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
23 changes: 22 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ command-local:

command-analyze:
./test/commands/analyze/dsl/run.sh
./test/commands/analyze/metadata/run.sh
./test/commands/analyze/metadata/run.sh;

command-docker:
./test/commands/docker/run.sh
Expand Down 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 570077d

Please sign in to comment.