mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-28 07:22:37 +03:00
ci: run the py3.12 tests in a non-UTC time zone
- a test that only passes in UTC now fails in CI
This commit is contained in:
@@ -11,12 +11,18 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: tests (py${{ matrix.python-version }})
|
name: tests (py${{ matrix.python-version }}${{ matrix.tz && format(', {0}', matrix.tz) || '' }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user