Skip to content

Commit

Permalink
Remove use of pytest-forked
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Oct 22, 2024
1 parent 27b8f93 commit 45b6f64
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ outputs:
requires:
- mock
- pytest
# Workaround for https://github.com/conda-forge/gymnasium-feedstock/pull/41#issuecomment-2428944434
- pytest-forked # [aarch64]
- scipy
- dill
- pip
Expand All @@ -88,9 +86,6 @@ outputs:
- mujoco-python >=2.3.6
commands:
- pip check
{% set pytest_options = "" %}
# Workaround for https://github.com/conda-forge/gymnasium-feedstock/pull/41#issuecomment-2428944434
{% set pytest_options = pytest_options + " --forked" %} # [aarch64]
{% set tests_to_skip = "_not_a_real_test" %}
# These test requires mujoco_py, see https://github.com/conda-forge/gymnasium-feedstock/pull/36#issuecomment-2124082918
{% set tests_to_skip = tests_to_skip + " or test_verify_info_x_position" %}
Expand Down Expand Up @@ -141,7 +136,7 @@ outputs:
# Ensure that pygame tests pass on osx,
# see https://github.com/conda-forge/gymnasium-feedstock/pull/36#issuecomment-2124699477
- export SDL_VIDEODRIVER="dummy" # [osx]
- pytest {{ pytest_options }} -v tests/ -k "not ({{ tests_to_skip }})"
- pytest -v tests/ -k "not ({{ tests_to_skip }})"

- name: gymnasium-atari
requirements:
Expand Down

0 comments on commit 45b6f64

Please sign in to comment.