Skip to content
Merged
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
16 changes: 7 additions & 9 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
if: success()
id: status
env:
LOG_PATH: ${{ steps.determine-log-path.output.log-file }}
LOG_PATH: ${{ steps.determine-log-path.outputs.log-file }}
run: |
pixi run -e ${{matrix.pixi-env}} -- python -m pytest --timeout=60 -rf -nauto \
--report-log "$LOG_PATH"
Expand All @@ -128,12 +128,14 @@ jobs:
with:
name: log file
path: ${{ steps.determine-log-path.outputs.log-file }}
if-no-files-found: error

create-issue:
needs: upstream-dev
runs-on: ubuntu-slim
if: |
needs.upstream-dev.result == 'failure'
always()
&& needs.upstream-dev.result == 'failure'
&& github.event_name == 'schedule'
&& github.repository_owner == 'pydata'

Expand All @@ -146,22 +148,18 @@ jobs:
name: log file
path: logs/
- name: Generate and publish the report
if: |
failure()
&& steps.status.outcome == 'failure'
uses: scientific-python/issue-from-pytest-log-action@8e905db353437cda1d6a773de245343fbfc940dd # v1.5.0
with:
log-path: logs/${{ needs.upstream-dev.outputs.log-file }}

mypy-upstream-dev:
name: mypy-upstream-dev
runs-on: ubuntu-latest
needs: [detect-ci-trigger, cache-pixi-lock]
needs: cache-pixi-lock
if: |
always()
&& (
contains( github.event.pull_request.labels.*.name, 'run-upstream')
)
&& contains( github.event.pull_request.labels.*.name, 'run-upstream')

defaults:
run:
shell: bash -l {0}
Expand Down
Loading