File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 3232 toxenv : docs
3333 - python-version : " 3.13"
3434 toxenv : twinecheck
35+ - python-version : " 3.13"
36+ toxenv : py
37+ timezone : " Pacific/Auckland"
38+ - python-version : " 3.13"
39+ toxenv : py
40+ timezone : " Pacific/Fiji"
3541 steps :
3642 - uses : actions/checkout@v3
3743 - name : ' Set up Python ${{ matrix.python-version }}'
4551 python -m pip install --upgrade pip
4652 pip install tox
4753 - name : Run tests
48- run : tox -e ${{ matrix.toxenv || 'py' }}
54+ env :
55+ TZ : ${{ matrix.timezone || 'UTC' }}
56+ run : |
57+ echo "Running tests with timezone: $TZ"
58+ date
59+ python -c "import datetime; print(f'Python datetime now: {datetime.datetime.now()}')"
60+ python -c "import time; print(f'Python time localtime: {time.localtime()}')"
61+ tox -e ${{ matrix.toxenv || 'py' }}
4962 - name : Upload coverage.xml to codecov
5063 uses : codecov/codecov-action@v5
5164 with :
You can’t perform that action at this time.
0 commit comments