File tree 1 file changed +24
-3
lines changed
1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
permissions :
7
7
contents : read
8
- issues : write
9
- pull-requests : write
10
8
11
9
jobs :
12
10
nightly :
13
11
runs-on : ubuntu-latest
14
12
timeout-minutes : 10
15
- if : (! github.event.issue.pull_request) && github.event.comment.body == '/nightly'
13
+ if : (github.event.issue.pull_request) && github.event.comment.body == '/nightly'
16
14
17
15
steps :
18
16
- uses : actions/checkout@v3
24
22
python-version : " 3.11"
25
23
26
24
- name : Run pytest (against pandas nightly)
25
+ id : tests-step
27
26
run : poetry run poe pytest --nightly
27
+ - name : Report tests check
28
+ run : |
29
+ echo "$GITHUB_CONTEXT"
30
+
31
+ # - name: Report tests check
32
+ # if: ${{ github.event.inputs.used-branch && steps.tests-step.outcome }}
33
+ # uses: actions/github-script@v3
34
+ # with:
35
+ # github-token: ${{ secrets.GITHUB_TOKEN }}
36
+ # script: |
37
+ # github.checks.create({
38
+ # name: 'run tests',
39
+ # head_sha: '${{ github.event.issue.pull_request.head.sha }}',
40
+ # status: 'completed',
41
+ # conclusion: '${{ steps.tests-step.outcome }}',
42
+ # output: {
43
+ # title: 'Run tests',
44
+ # summary: 'Results: ${{ steps.tests-step.outcome }}'
45
+ # },
46
+ # owner: context.repo.owner,
47
+ # repo: context.repo.repo
48
+ # })
28
49
29
50
mypy_nightly :
30
51
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments