Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove manual installation of Python 3.11 in workflow jobs and specify basepython in tox.ini #931

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/comment-triggered-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
runs-on: self-hosted
keyword: python3.11-pandas1.5-fast-tests
commands: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.11 -y
tox -v -e py311-pandas15,report -- pytest --skip-slow --cov --cov-report=term-missing -vv tests
description: Run of fast tests on Python v3.11 with Pandas v1.5
timeout-minutes: 8640
Expand All @@ -57,9 +54,6 @@ jobs:
runs-on: self-hosted
keyword: python3.11-pandas1.5-all-tests
commands: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.11 -y
tox -v -e py311-pandas15,report -- pytest --cov --cov-report=term-missing -vv tests
description: Run of all tests on Python v3.11 with Pandas v1.5
timeout-minutes: 8640
Expand All @@ -74,9 +68,6 @@ jobs:
runs-on: self-hosted
keyword: python3.11-pandas2.0-fast-tests
commands: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.11 -y
tox -v -e py311-pandas20,report -- pytest --skip-slow --cov --cov-report=term-missing -vv tests
description: Run of fast tests on Python v3.11 with Pandas v2.0
timeout-minutes: 8640
Expand All @@ -91,9 +82,6 @@ jobs:
runs-on: self-hosted
keyword: python3.11-pandas2.0-all-tests
commands: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.11 -y
tox -v -e py311-pandas20,report -- pytest --cov --cov-report=term-missing -vv tests
description: Run of all tests on Python v3.11 with Pandas v2.0
timeout-minutes: 8640
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ envlist =
basepython =
{py38,docs,profile}: {env:TOXPYTHON:python3.8}
{clean,check,report,codecov,spell}: {env:TOXPYTHON:python3}
py39: {env:TOXPYTHON:python3.9}
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
Expand All @@ -32,7 +35,7 @@ commands =
deps =
pandas12: pandas==1.2.2
pandas15: pandas==1.5.3
pandas20: pandas~=2.0.0rc1
pandas20: pandas==2.0.0
# Use base.in rather than base.txt here to get only direct + unpinned requirements
-r{toxinidir}/requirements/base.in
pytest
Expand Down