Skip to content

difftastic-bindings test after-load, turn-on, and turn-off #409

difftastic-bindings test after-load, turn-on, and turn-off

difftastic-bindings test after-load, turn-on, and turn-off #409

Workflow file for this run

name: CI Tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '**.md'
- '.gitignore'
push:
paths-ignore:
- '**.md'
- '.gitignore'
schedule:
- cron: '42 7 * * SUN,MON,WED,FRI,SAT'
jobs:
ci-tests:
runs-on: ${{ matrix.os }}
env:
EMACS_TEST_VERBOSE: true
EMACS_TEST_JUNIT_REPORT: true
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
emacs_version:
- 28.1
- 28.2
- 29.1
- 29.2
- 29.3
- 29.4
- snapshot
exclude:
- os: macos-latest
include: # processed after exclude
- os: macos-latest
emacs_version: 28.2
- os: macos-latest
emacs_version: 29.4
- os: macos-latest
emacs_version: snapshot
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache-cask-packages
with:
path: .cask
key: cache-cask-packages-000
- uses: cask/setup-cask@master
if: steps.cache-cask-executable.outputs.cache-hit != 'true'
with:
version: snapshot
- name: Install dependencies
run: 'cask install'
- name: Byte compile
run: 'make compile'
- name: Lint package
run: 'make lint'
- name: Run tests
run: 'make test'
- name: Publish test report
uses: mikepenz/action-junit-report@v5
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '/test/*.t.xml'
- name: Coveralls parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ join(matrix.*, '-emacs-') }}
parallel: true
finish:
needs: ci-tests
runs-on: ubuntu-latest
steps:
- name: Coveralls finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true