-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated robot keywords class (#16)
- Loading branch information
Showing
8 changed files
with
542 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
PYTHON_VERSION: | ||
# - "3.7" | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "3.13" | ||
steps: | ||
- uses: extractions/setup-just@v2 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.PYTHON_VERSION }} | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
python -m pip install poetry~=1.8.4 | ||
poetry install --no-ansi | ||
- run: just tests | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.PYTHON_VERSION }}_log.html | ||
path: log.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
SOURCE_DIR := "winregistry.py" | ||
SOURCE_FILE := "winregistry.py" | ||
TESTS_FILE := "winregistry_tests.robot" | ||
|
||
tests: pytest | ||
tests: robot | ||
fmt: black isort | ||
|
||
isort: | ||
poetry run isort {{ SOURCE_DIR }} | ||
poetry run isort {{ SOURCE_FILE }} | ||
|
||
black: | ||
poetry run black {{ SOURCE_DIR }} | ||
|
||
poetry run black {{ SOURCE_FILE }} | ||
|
||
pytest: | ||
poetry run pytest -vv | ||
|
||
ruff: | ||
poetry run ruff check --fix {{SOURCE_DIR}} | ||
poetry run ruff check --fix {{ SOURCE_FILE }} | ||
|
||
mypy: | ||
poetry run mypy --pretty {{SOURCE_DIR}} | ||
poetry run mypy --pretty {{ SOURCE_FILE }} | ||
|
||
robot: | ||
poetry run robot {{ TESTS_FILE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.