From 91658cd13adb8b46b8a58afcc70aa3e0281664f1 Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Wed, 9 Oct 2024 23:18:10 -0500 Subject: [PATCH] debug --- .github/workflows/test.yml | 53 +++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46c25632..0e0590a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,53 @@ on: push jobs: - test: + test-windows: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] emacs-version: [27.2, 28.2, 29.3, snapshot] + runs-on: windows-latest + defaults: + run: + shell: powershell + continue-on-error: true + steps: + - uses: actions/checkout@v3 + - uses: jcs090218/setup-emacs-windows@master + with: + version: ${{ matrix.emacs-version }} + - uses: msys2/setup-msys2@v2 + with: + msystem: MSYS + - uses: conda-incubator/setup-miniconda@v3 + with: + python-version: 3.9 + - name: Install requirements + run: | + conda install -c conda-forge pandoc + conda install -c anaconda jupyter + curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh + + # Make eldev available to all future actions + echo "$HOME/.local/bin" >> $GITHUB_PATH + - name: Check Jupyter version + run: | + mkdir -p $(jupyter --runtime-dir) + jupyter --paths + jupyter --version + jupyter kernelspec list + - name: Byte compilation + run: | + msys2 -c 'make compile' + - name: Run tests + run: | + msys2 -c 'make test' + test-unix-like: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + emacs-version: [27.2, 28.2, 29.3, snapshot] + exclude: + - os: macos-latest + emacs-version: 27.2 defaults: run: shell: bash -el {0} @@ -15,11 +58,6 @@ jobs: - uses: purcell/setup-emacs@master with: version: ${{ matrix.emacs-version }} - if: ${{ matrix.os != 'windows-latest' }} - - uses: jcs090218/setup-emacs-windows@master - with: - version: ${{ matrix.emacs-version }} - if: ${{ matrix.os == 'windows-latest' }} - uses: conda-incubator/setup-miniconda@v3 with: python-version: 3.9 @@ -39,6 +77,7 @@ jobs: jupyter kernelspec list - name: Byte compilation run: | + emacs -Q --batch --eval='(princ (concat system-configuration "\n"))' make compile - name: Run tests run: |