Skip to content

Commit

Permalink
Merge pull request #25 from pyzenhub/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jul 13, 2023
2 parents ea22891 + 389eb54 commit d73fd45
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- main
tags:
- "v*"
pull_request_target:
pull_request:
branches:
- main
workflow_dispatch:


jobs:
pre-commit:
runs-on: ubuntu-latest
Expand All @@ -20,7 +21,9 @@ jobs:
with:
python-version: 3.9
- name: Install package
run: pip install -e .
run: |
pip install --upgrade pip
pip install -e .
- name: Install dependencies
run: pip install pre-commit
- name: Run pre-commit
Expand All @@ -36,7 +39,9 @@ jobs:
with:
python-version: 3.9
- name: Install package
run: pip install -e .
run: |
pip install --upgrade pip
pip install -e .
- name: Install dependencies
run: pip install check-manifest
- name: Run check
Expand All @@ -49,14 +54,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.10"]
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install package
run: pip install -e .
run: |
pip install --upgrade pip
pip install -e .
- name: Install dependencies
run: pip install pytest pytest-cov
- name: Run pytest
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/goanpeca/pyzenhub
author = Gonzalo Pena-Castellanos
author_email = goanpeca@gmail.com
license = MIT
license_file = LICENSE.txt
license_files = LICENSE.txt
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Expand All @@ -30,7 +30,7 @@ project_urls =
packages = find:
install_requires =
packaging
pydantic>=1.5.1<2
pydantic<2
requests
types-requests
typing_extensions
Expand Down

0 comments on commit d73fd45

Please sign in to comment.