Skip to content

Test using bash on windows, ubuntu and macos. #16

Test using bash on windows, ubuntu and macos.

Test using bash on windows, ubuntu and macos. #16

Workflow file for this run

# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Bradley M. Bell <[email protected]>
# SPDX-FileContributor: 2024 Bradley M. Bell
# ----------------------------------------------------------------------------
# Use the following to verify yml syntax before commiting:
# https://yamlchecker.com/
#
# The name for this workflow
name: bash-workflow
#
# A short description of this workflow
run-name: Test using bash on windows, ubuntu and macos.
#
# This worflow will be run on any push to the repository
on:
push:
branches:
master
#
jobs:
#
check_all:
#
strategy:
matrix:
os: [ windows-latest, ubuntu-latest , macos-latest ]
#
runs-on: ${{ matrix.os }}
steps:
#
# actions
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
#
- name: Using bash
shell: bash -el {0}
run: |
pip install pytest
pip install --prefix=build/prefix .
export PYTHONPATH=$(find build/prefix -name 'site-packages')
sed -i -e "s|'pyenchant'|'pyspellchecker'|" xrst.toml
build/prefix/bin/xrst --suppress_spell_warnings
# bin/check_all.sh