Skip to content

Commit

Permalink
check clock precission
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Oct 24, 2024
1 parent d4ac48f commit 37275c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/win-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Check clock precision in Windows
run: |
python -c "import time; \
clock_info = time.get_clock_info('time'); \
print(f'Time clock precision: {clock_info.resolution} seconds'); \
perf_info = time.get_clock_info('perf_counter'); \
print(f'Perf counter precision: {perf_info.resolution} seconds')"
- name: Cache pip packages
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 37275c1

Please sign in to comment.