From 1e9ad314d83c331e930d1e856c12f4fe46f3c1b6 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Wed, 23 Sep 2026 23:37:05 +0000 Subject: [PATCH] ci: run the py3.12 tests in a non-UTC time zone - a test that only passes in UTC now fails in CI --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a0f0673d..b94fea9cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,12 +11,18 @@ concurrency: jobs: test: - name: tests (py${{ matrix.python-version }}) + name: tests (py${{ matrix.python-version }}${{ matrix.tz && format(', {0}', matrix.tz) || '' }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.10", "3.11", "3.12", "3.13"] + # One run away from UTC, so a test that only passes in UTC fails here. + include: + - python-version: "3.12" + tz: America/New_York + env: + TZ: ${{ matrix.tz }} steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5