Skip to content

Commit

Permalink
Merge af53e0e into bb4fffc
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwigschwardt committed Apr 24, 2023
2 parents bb4fffc + af53e0e commit 8a5ee6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ concurrency:
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python-version: "3.10"
os: ubuntu-20.04
coverage: "yes"
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions tests/test_time_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@

"""Tests for :mod:`aiokatcp.time_sync` and (indirectly) :mod:`aiokatcp.adjtimex`."""

import sys

import pytest

if sys.platform != "linux":
pytest.skip("skipping Linux-only tests based on adjtimex", allow_module_level=True)

import aiokatcp.adjtimex
from aiokatcp import Sensor, SensorSet
from aiokatcp.time_sync import ClockState, TimeSyncUpdater
Expand Down

0 comments on commit 8a5ee6d

Please sign in to comment.