-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
251 additions
and
228 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Test pyzeebe | |
on: [push, pull_request] | ||
|
||
jobs: | ||
# 3.6 and 3.7 only for passing branch rules | ||
# 3.6, 3.7 and 3.8 only for passing branch rules | ||
# https://github.com/camunda-community-hub/pyzeebe/issues/381#issuecomment-2107430780 | ||
unit-test: | ||
runs-on: ubuntu-latest | ||
|
@@ -18,20 +18,20 @@ jobs: | |
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.5.1 | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }} | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }} | ||
- name: Install dependencies | ||
run: poetry install | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }} | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }} | ||
- name: Test with pytest | ||
run: | | ||
poetry run coverage run --source=pyzeebe -m pytest tests/unit | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }} | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }} | ||
- name: Upload to coveralls | ||
run: | | ||
poetry run coveralls --service=github | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }} | ||
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }} | ||
|
||
integration-test: | ||
env: | ||
|
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,27 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: black | ||
name: black | ||
entry: black | ||
language: python | ||
files: \.py$ | ||
- repo: local | ||
hooks: | ||
- id: isort | ||
name: isort | ||
entry: isort | ||
language: python | ||
files: \.py$ | ||
- repo: local | ||
hooks: | ||
- id: mypy | ||
name: mypy | ||
entry: mypy | ||
language: python | ||
pass_filenames: false | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py39-plus] |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ version: 2 | |
build: | ||
image: latest | ||
python: | ||
version: 3.8 | ||
version: 3.9 | ||
install: | ||
- method: pip | ||
path: . | ||
|
Oops, something went wrong.