Skip to content

Test issue #2

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

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
9a43dc9
Test issue
loicdiridollou Aug 9, 2024
ba81f96
Adding new file
loicdiridollou Aug 9, 2024
82e9a03
Update optional.yml
loicdiridollou Aug 9, 2024
7fcc2d7
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
acd9dc2
Test
loicdiridollou Aug 9, 2024
a04bdea
Test
loicdiridollou Aug 9, 2024
d914a3d
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
374dab0
Temp
loicdiridollou Aug 9, 2024
8e083e6
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
be23821
Update comment_commands.yml
loicdiridollou Aug 9, 2024
02a5edb
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
ab883ba
Test
loicdiridollou Aug 9, 2024
0ef6fa3
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
ea28735
Test
loicdiridollou Aug 9, 2024
70e10af
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
5a26d6b
Test
loicdiridollou Aug 9, 2024
70c3340
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
277f33f
Test
loicdiridollou Aug 9, 2024
31c21c7
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
6b7f21a
Test
loicdiridollou Aug 9, 2024
74b18d9
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
bfb1cdb
Test
loicdiridollou Aug 9, 2024
36e98eb
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
fedfeb2
Test
loicdiridollou Aug 9, 2024
bc72486
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
4629304
Test
loicdiridollou Aug 9, 2024
07980ca
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
e72c553
Update comment_commands.yml
loicdiridollou Aug 9, 2024
614cb07
Merge branch 'main' into test_issue
loicdiridollou Aug 9, 2024
86904c4
Merge branch 'test_issue' of github.com:loicdiridollou/pandas-stubs i…
loicdiridollou Aug 9, 2024
99bade6
Update comment_commands.yml
loicdiridollou Aug 9, 2024
2577a0f
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
7caac49
Update comment_commands.yml
loicdiridollou Aug 9, 2024
a4da4bb
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
78466d9
Update comment_commands.yml
loicdiridollou Aug 9, 2024
dafe1f7
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
2230940
test
loicdiridollou Aug 9, 2024
4834cf3
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 9, 2024
2689320
Update workflow for comment commands
loicdiridollou Aug 12, 2024
71d2584
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
2913fe0
test
loicdiridollou Aug 12, 2024
f1b76cf
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
dac0fd8
test
loicdiridollou Aug 12, 2024
a4f63fc
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
355003b
test
loicdiridollou Aug 12, 2024
830ddac
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
f7304dd
test
loicdiridollou Aug 12, 2024
11fca28
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
3e390b8
test
loicdiridollou Aug 12, 2024
ff3fbae
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
e354a71
test
loicdiridollou Aug 12, 2024
dd89fa6
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
f9fcfbc
test
loicdiridollou Aug 12, 2024
4d0d7e1
Merge branch 'main' of github.com:loicdiridollou/pandas-stubs into te…
loicdiridollou Aug 12, 2024
60aee58
test
loicdiridollou Aug 12, 2024
50f6e1f
JMt :wq erge branch 'main' of github.com:loicdiridollou/pandas-stubs …
loicdiridollou Aug 12, 2024
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
164 changes: 164 additions & 0 deletions .github/workflows/comment_commands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
name: Comment Commands
on:
issue_comment:
types: created

permissions:
checks: write

jobs:
pandas_nightly:
runs-on: ubuntu-latest
timeout-minutes: 10
if: (github.event.issue.pull_request) && github.event.comment.body == '/pandas_nightly'

steps:
- uses: actions/checkout@v4

- name: Install project dependencies
uses: ./.github/setup
with:
os: ubuntu-latest
python-version: "3.11"

- name: Run pytest (against pandas nightly)
id: tests-step
run: poetry run poe pytest --nightly

- name: Get head sha and store value
if: always()
id: get-sha
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.issue.number }}
})
core.setOutput('sha', pr.data.head.sha)
#
- name: Report results of the tests and publish
if: always()
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.checks.create({
name: 'Pandas nightly tests',
head_sha: '${{ steps.get-sha.outputs.sha }}',
status: 'completed',
conclusion: '${{ steps.tests-step.outcome }}',
output: {
title: 'Run pandas nightly tests',
summary: 'Results: ${{ steps.tests-step.outcome }}',
text: 'See the actions run at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
},
owner: context.repo.owner,
repo: context.repo.repo
})

mypy_nightly:
runs-on: ubuntu-latest
timeout-minutes: 10
if: (github.event.issue.pull_request) && github.event.comment.body == '/mypy_nightly'

steps:
- uses: actions/checkout@v4

- name: Install project dependencies
uses: ./.github/setup
with:
os: ubuntu-latest
python-version: "3.11"

- name: Run mypy tests with mypy nightly
id: tests-step
run: poetry run poe mypy --mypy_nightly

- name: Get head sha and store value
if: always()
id: get-sha
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.issue.number }}
})
core.setOutput('sha', pr.data.head.sha)

- name: Report results of the tests and publish
if: always()
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.checks.create({
name: 'Mypy nightly tests',
head_sha: '${{ steps.get-sha.outputs.sha }}',
status: 'completed',
conclusion: '${{ steps.tests-step.outcome }}',
output: {
title: 'Run mypy nightly tests',
summary: 'Results: ${{ steps.tests-step.outcome }}',
text: 'See the actions run at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
},
owner: context.repo.owner,
repo: context.repo.repo
})

pyright_strict:
runs-on: ubuntu-latest
timeout-minutes: 10
if: (github.event.issue.pull_request) && github.event.comment.body == '/pyright_strict'

steps:
- uses: actions/checkout@v4

- name: Install project dependencies
uses: ./.github/setup
with:
os: ubuntu-latest
python-version: "3.11"

- name: Run pyright tests with full strict mode
id: tests-step
run: poetry run poe pyright_strict

- name: Get head sha and store value
if: always()
id: get-sha
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.issue.number }}
})
core.setOutput('sha', pr.data.head.sha)
#
- name: Report results of the tests and publish
if: always()
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.checks.create({
name: 'Pyright strict tests',
head_sha: '${{ steps.get-sha.outputs.sha }}',
status: 'completed',
conclusion: '${{ steps.tests-step.outcome }}',
output: {
title: 'Run pyright strict tests',
summary: 'Results: ${{ steps.tests-step.outcome }}',
text: 'See the actions run at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
},
owner: context.repo.owner,
repo: context.repo.repo
})
56 changes: 0 additions & 56 deletions .github/workflows/optional.yml

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions new_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test