Skip to content

Commit

Permalink
Install Python 3.11 in comment-triggered test workflows and ensure co…
Browse files Browse the repository at this point in the history
…mment-token step always runs (#921)
  • Loading branch information
matt-graham authored Apr 4, 2023
1 parent 2cce349 commit e70a5d2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/comment-triggered-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ 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 @@ -54,6 +57,9 @@ 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 @@ -68,6 +74,9 @@ 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 @@ -82,6 +91,9 @@ 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
1 change: 1 addition & 0 deletions .github/workflows/run-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
- name: Run test command(s)
run: ${{ inputs.commands }}
- name: Get comment-bot token
if: always() && steps.has_permissions.outputs.result == 'true'
id: get_comment_bot_token
uses: peter-murray/workflow-application-token-action@e8782d687a306fb13d733244d0f2a50e272d3752
with:
Expand Down

0 comments on commit e70a5d2

Please sign in to comment.