Skip to content

Commit

Permalink
Add support for Pyramid 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luhn committed Oct 20, 2021
1 parent d8655c3 commit 4b23553
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
- "3.9"
- "3.10"
- "pypy3"
pyramid_version:
- "<2"
- ">=2"

name: "Python: ${{ matrix.py }}"
name: "Python: ${{ matrix.py }}, Pyramid: ${{ matrix.pyramid_version }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +27,7 @@ jobs:
with:
python-version: ${{ matrix.py }}
- name: Install
run: pip install .[testing]
run: pip install .[testing] "pyramid${{ matrix.pyramid_version }}"
- name: Running tests
run: pytest tests -v

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]

REQUIRES = [
"pyramid~=1.7",
"pyramid>=1.7",
"marshmallow~=3.0"
]

Expand Down

0 comments on commit 4b23553

Please sign in to comment.