Skip to content

Avoid external IP lookup for inproc addresses #334

Avoid external IP lookup for inproc addresses

Avoid external IP lookup for inproc addresses #334

Workflow file for this run

name: Upstream
on:
schedule:
- cron: "0 1 * * *"
push:
branches: [main]
tags: ["*"]
pull_request:
workflow_dispatch:
# When this workflow is queued, automatically cancel any previous running
# or pending jobs from the same branch
concurrency:
group: upstream-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
# Do not run the schedule job on forks
if: github.repository == 'dask/distributed' || github.event_name != 'schedule'
# Make the name match tests.yaml for the benefit of test-report
name: ubuntu-latest ${{ matrix.environment }} test-ci ${{ matrix.partition }}
runs-on: ubuntu-latest
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
environment: [py314, nightly]
partition: [ci1, not ci1]
steps:
- name: Checkout source
uses: actions/checkout@v7.0.0
with:
fetch-depth: 0
- name: Reconfigure pytest-timeout
# No SIGALRM available on Windows
# Note: all changes to the source code must happen before `pixi install`
# or we'll build the package twice
if: ${{ matrix.os != 'windows-latest' }}
run: sed -i.bak 's/timeout_method = "thread"/timeout_method = "signal"/' pyproject.toml
- uses: prefix-dev/setup-pixi@v0.10.0
with:
pixi-version: v0.72.1
run-install: false
cache: false
locked: false
- name: pixi update
run: pixi update -e ${{ matrix.environment }}
- name: pixi install
run: pixi install -e ${{ matrix.environment }}
- name: Setup SSH
# FIXME no SSH available on Windows
# https://github.com/dask/distributed/issues/4509
run: continuous_integration/scripts/setup_ssh.sh
- name: Disable IPv6
shell: bash -l {0}
# FIXME ipv6-related failures on Ubuntu and MacOS github actions CI
# https://github.com/dask/distributed/issues/4514
run: echo "DISABLE_IPV6=1" >> $GITHUB_ENV
- name: Print host info
run: pixi run -e ${{ matrix.environment }} host-info
- name: Run tests
run: pixi run -e ${{ matrix.environment }} test-ci -m "${{ matrix.partition }}"
- name: Coverage
uses: codecov/codecov-action@v7