Fix done in feature paths to remove line breaks #354
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: 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.1.0.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 |