Skip to content

Commit

Permalink
CI: Enable python.version="pypy-2.7" for workflow "tests"
Browse files Browse the repository at this point in the history
* FIX: 2 minor issues where pypy-2.7 exception output differs from
  normal cpython-2.7.
  • Loading branch information
jenisys committed Jul 10, 2023
1 parent 3f193a1 commit 9cdd059
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ jobs:
fail-fast: false
matrix:
# PREPARED: os: [ubuntu-latest, macos-latest, windows-latest]
# PREPARED: python-version: ["3.11", "3.10", "3.9", "pypy-3.10", "pypy-2.7"]
os: [ubuntu-latest]
python-version: ["3.11", "3.10", "3.9", "pypy-3.10"]
python-version: ["3.11", "3.10", "3.9", "pypy-3.10", "pypy-2.7"]
steps:
- uses: actions/checkout@v3
# DISABLED: name: Setup Python ${{ matrix.python-version }} on platform=${{ matrix.os }}
Expand Down
7 changes: 7 additions & 0 deletions features/formatter.help.feature
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ Feature: Help Formatter
| bad_formatter1 | behave4me.unknown:Formatter | ModuleNotFoundError | No module named 'behave4me.unknown' |

@not.with_python.min_version=3.6
@use.with_pypy=true
Examples: For Python < 3.6
| formatter_name | formatter_class | formatter_syndrome | problem_description |
| bad_formatter1 | behave4me.unknown:Formatter | ModuleNotFoundError | No module named 'behave4me.unknown' |

@not.with_python.min_version=3.6
@not.with_pypy=true
Examples: For Python < 3.6
| formatter_name | formatter_class | formatter_syndrome | problem_description |
| bad_formatter1 | behave4me.unknown:Formatter | ModuleNotFoundError | No module named 'unknown' |
Expand Down
15 changes: 11 additions & 4 deletions features/runner.help.feature
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,20 @@ Feature: Runner Help

@use.with_python.min_version=3.0
Examples: For Python >= 3.0
| runner_name | runner_class | runner_syndrome | problem_description |
| bad_runner1 | behave4me.unknown:Runner | ModuleNotFoundError | No module named 'behave4me.unknown' |
| runner_name | runner_class | runner_syndrome | problem_description |
| bad_runner1 | behave4me.unknown:Runner | ModuleNotFoundError | No module named 'behave4me.unknown' |

@not.with_python.min_version=3.0
@use.with_pypy=true
Examples: For Python < 3.0
| runner_name | runner_class | runner_syndrome | problem_description |
| bad_runner1 | behave4me.unknown:Runner | ModuleNotFoundError | No module named 'unknown' |
| runner_name | runner_class | runner_syndrome | problem_description |
| bad_runner1 | behave4me.unknown:Runner | ModuleNotFoundError | No module named 'behave4me.unknown' |

@not.with_python.min_version=3.0
@not.with_pypy=true
Examples: For Python < 3.0
| runner_name | runner_class | runner_syndrome | problem_description |
| bad_runner1 | behave4me.unknown:Runner | ModuleNotFoundError | No module named 'unknown' |

Examples:
| runner_name | runner_class | runner_syndrome | problem_description |
Expand Down

0 comments on commit 9cdd059

Please sign in to comment.