Skip to content

Commit

Permalink
dev: don't run ci with Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
BillHuang2001 committed Apr 23, 2024
1 parent ad86d91 commit 47e6241
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand All @@ -30,20 +30,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install build wheel setuptools pytest
- name: Build and install package Python 3.9 (no GPJax)
if: matrix.python-version == '3.9'
run: |
output=$(python -m build --wheel)
pip install dist/${output##* }[gymnasium,envpool,neuroevolution,distributed,test]
- name: Build and install package Python 3.10 and above
if: matrix.python-version == '3.10' || matrix.python-version == '3.11'
run: |
output=$(python -m build --wheel)
pip install dist/${output##* }[full,test]
- name: Test with pytest Python 3.9
if: matrix.python-version == '3.9'
run: |
pytest -k 'not test_im_moea and not test_gp'
- name: Test with pytest Python 3.10 and above
if: matrix.python-version == '3.10' || matrix.python-version == '3.11'
run: |
Expand Down

0 comments on commit 47e6241

Please sign in to comment.