mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
* Bump the all group in /pykanidm with 2 updates Bumps the all group in /pykanidm with 2 updates: [mypy](https://github.com/python/mypy) and [ruff](https://github.com/astral-sh/ruff). Updates `mypy` from 1.10.0 to 1.10.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.10.1) Updates `ruff` from 0.4.10 to 0.5.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.10...0.5.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> * fixing pylint checks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
42 lines
998 B
YAML
42 lines
998 B
YAML
---
|
|
name: PyKanidm tests
|
|
|
|
"on":
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
- name: Install poetry
|
|
run: pipx install poetry
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
cache: 'poetry'
|
|
- name: Running mypy
|
|
run: |
|
|
cd pykanidm
|
|
python --version
|
|
poetry install
|
|
poetry run mypy --strict kanidm tests
|
|
- name: Running Linting
|
|
run: |
|
|
cd pykanidm
|
|
poetry install
|
|
poetry run ruff check kanidm tests
|
|
- name: Running pytest
|
|
run: |
|
|
cd pykanidm
|
|
poetry install
|
|
poetry run pytest -v -m 'not network'
|