Browse Source

feat: add support for Windows

feat/windows-support
Deuchnord 5 months ago
committed by Jérôme Deuchnord
parent
commit
f4952d028a
8 changed files with 7 additions and 6 deletions
  1. +1
    -0
      .github/workflows/tests.yml
  2. +1
    -1
      Makefile
  3. +1
    -1
      tests/test_dates.py
  4. +1
    -1
      tests/test_general.py
  5. +1
    -1
      tests/test_output.py
  6. +1
    -1
      tests/test_position.py
  7. +1
    -1
      tests/test_timezone.py
  8. +0
    -0
      tests/test_utils.py

+ 1
- 0
.github/workflows/tests.yml View File

@@ -19,6 +19,7 @@ jobs:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- '3.8'
- '3.9'


+ 1
- 1
Makefile View File

@@ -3,7 +3,7 @@ black:

.PHONY: tests
tests:
LANG=C python3 -m poetry run pytest tests/*.py
python3 -m poetry run pytest tests/

.PHONY: build
build:


tests/dates.py → tests/test_dates.py View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from .utils import execute, KOSMORRO
from .test_utils import execute, KOSMORRO


def test_with_date():

tests/general.py → tests/test_general.py View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3

from sys import version_info as python_version
from .utils import (
from .test_utils import (
execute,
KOSMORRO,
CURRENT_MOON_PHASE_PATTERN,

tests/output.py → tests/test_output.py View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from .utils import (
from .test_utils import (
execute,
KOSMORRO,
)

tests/position.py → tests/test_position.py View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from .utils import (
from .test_utils import (
execute,
KOSMORRO,
)

tests/timezone.py → tests/test_timezone.py View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from .utils import (
from .test_utils import (
execute,
KOSMORRO,
)

tests/utils.py → tests/test_utils.py View File


Loading…
Cancel
Save