Skip to content

Cosmetic fix in documentation #341

Cosmetic fix in documentation

Cosmetic fix in documentation #341

name: Test behavex in latest python versions
on: [push, pull_request]
jobs:
test-behavex:
runs-on: ${{ matrix.os }}
env:
PYTHONIOENCODING: utf-8
PYTHONLEGACYWINDOWSSTDIO: utf-8
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install setuptools
run: |
python -m pip install 'setuptools>=61'
- name: Install behavex
run: |
python -m pip install --upgrade pip
python setup.py sdist
pip install dist/behavex-4.0.9.tar.gz
- name: Verify behavex command
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
dir
behavex .\\tests\\features\\*.feature
else
behavex ./tests/features/*.feature
fi
# Set report.json to be available as an artifact for debugging
- name: Set report.json to be available as an artifact
uses: actions/upload-artifact@v4
with:
name: report-${{ matrix.os }}-py${{ matrix.python-version }}
path: /home/runner/work/behavex/behavex/output/report.json