Skip to content

Commit

Permalink
feat: drop support for windows (just removed tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kryukov committed Jan 8, 2024
1 parent d79034e commit 4fc87d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ on:

jobs:
check:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ["3.8", "3.10"]
python-version: ["3.8", "3.10", "3.11"]
defaults:
run:
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.PHONY: run
run:
poetry run -- watchmedo auto-restart \
--directory example/ \
--directory kutana/ \
--ignore-directories \
--recursive \
--ignore-patterns '*.pyc;*.sqlite3;*.sqlite3-journal' \
-- \
python3 -m kutana run example/config.yml
--directory example/ \
--directory kutana/ \
--ignore-directories \
--recursive \
--ignore-patterns '*.pyc;*.sqlite3;*.sqlite3-journal' \
-- \
python3 -m kutana run example/config.yml

.PHONY: test
test:
poetry run pytest ./tests
poetry run pytest --asyncio-mode=auto --cov=kutana --cov-report=term-missing ./tests

.PHONY: lint
lint:
Expand Down

0 comments on commit 4fc87d7

Please sign in to comment.