initial
This commit is contained in:
commit
baa0056244
352 changed files with 47928 additions and 0 deletions
50
.github/workflows/emacs-test.yml
vendored
Normal file
50
.github/workflows/emacs-test.yml
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
name: Emacs End-to-End Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
merge_group:
|
||||
types: [ checks_requested ]
|
||||
|
||||
jobs:
|
||||
emacs:
|
||||
name: ert
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOTNET_NOLOGO: true
|
||||
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dotnet
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
cache: true
|
||||
cache-dependency-path: '**/*.csproj'
|
||||
|
||||
- name: Install PSResources
|
||||
shell: pwsh
|
||||
run: tools/installPSResources.ps1
|
||||
|
||||
- name: Build
|
||||
shell: pwsh
|
||||
run: Invoke-Build Build
|
||||
|
||||
- name: Install Emacs
|
||||
uses: purcell/setup-emacs@master
|
||||
with:
|
||||
version: '28.2'
|
||||
|
||||
- name: Run ERT with full CLI
|
||||
run: |
|
||||
emacs -Q --batch -f package-refresh-contents --eval "(package-install 'eglot)"
|
||||
emacs -Q --batch -l test/emacs-test.el -f ert-run-tests-batch-and-exit
|
||||
|
||||
- name: Run ERT with simple CLI
|
||||
run: |
|
||||
emacs -Q --batch -f package-refresh-contents --eval "(package-install 'eglot)"
|
||||
emacs -Q --batch -l test/emacs-simple-test.el -f ert-run-tests-batch-and-exit
|
||||
Loading…
Add table
Add a link
Reference in a new issue