Procházet zdrojové kódy

feat: add support for Windows

feat/windows-support
Deuchnord před 6 měsíci
committed by Jérôme Deuchnord
rodič
revize
f4952d028a
8 změnil soubory, kde provedl 7 přidání a 6 odebrání
  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 Zobrazit soubor

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


+ 1
- 1
Makefile Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

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

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

tests/position.py → tests/test_position.py Zobrazit soubor

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

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

tests/timezone.py → tests/test_timezone.py Zobrazit soubor

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

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

tests/utils.py → tests/test_utils.py Zobrazit soubor


Načítá se…
Zrušit
Uložit