Skip to content

Handle triple quotes in Python code when :dir is specified #119

Handle triple quotes in Python code when :dir is specified

Handle triple quotes in Python code when :dir is specified #119

Workflow file for this run

on: push
jobs:
test-windows:
strategy:
matrix:
emacs-version: [27.2, 28.2, 29.3, snapshot]
runs-on: windows-latest
defaults:
run:
shell: bash -el {0}
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: mingw64
path-type: inherit
install: make
- 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
- name: Add Eldev path
shell: powershell
run: |
"$env:UserProfile\.local\bin" | Out-File $env:GITHUB_PATH
- name: Check Jupyter version
run: |
mkdir -p $(jupyter --runtime-dir)
jupyter --paths
jupyter --version
jupyter kernelspec list
- name: Byte compilation
shell: msys2 {0}
run: |
make
- name: Run tests
shell: msys2 {0}
run: |
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}
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- 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: Install packages for compiling Emacs-ZMQ when needed
# FIXME: It may be necessary to compile ZMQ since the runners can have
# a different architecture than what is available in the
# releases of that package. Should consider the architecture in
# the releases of Emacs-ZMQ.
run: brew install automake libtool
if: matrix.os == 'macos-latest'
- name: Byte compilation
run: |
make compile
- name: Run tests
run: |
make test