Add Markdown features definitions support using js gherkin implementation #1084
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Main testing workflow | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
- "pypy3.9" | |
- "pypy3.10" | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "*" | |
- name: Install PyPi dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U setuptools | |
pip install "tox>=4.0" "tox-gh-actions>=3.2" codecov | |
- name: Install npm dependencies | |
run: npm install --global | |
- name: Test with tox | |
if: > | |
!((matrix.python-version == '3.12' || | |
matrix.python-version == '3.11' || | |
matrix.python-version == '3.10') && | |
(matrix.os =='macos-latest' || matrix.os =='windows-latest')) | |
run: | | |
tox | |
- name: Gather codecov | |
run: | | |
codecov | |
- name: Build checking | |
if: "matrix.python-version == '3.13'" | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
python -m pip install --upgrade build twine | |
python -m build | |
twine check dist/* |