Skip to content

Commit

Permalink
Merge pull request #2 from rajivsarvepalli/1-add-release-ci
Browse files Browse the repository at this point in the history
Added testing for 0.1.x branch, Switched to Python 3.7+ for main branch
  • Loading branch information
rajivsarvepalli authored Jan 9, 2021
2 parents 2b2586f + 810e434 commit d20582a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 0.1.x-Tests
on:
push:
branches:
- 0.1.x
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: [2.7, 3.6, 3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install virtualenv==15.2
pip install tox==3.12.1 tox-gh-actions
pip install poetry==1.1.4
- name: Test with tox
run: tox
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Tests
on: [push]
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: [2.7, 3.6, 3.7]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand All @@ -17,8 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install virtualenv==15.2
pip install tox==3.12.1 tox-gh-actions
pip install tox tox-gh-actions
pip install poetry==1.1.4
- name: Test with tox
run: tox
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/rajivsarvepalli/mock-alchemy"
authors = ["Rajiv Sarvepalli <[email protected]>", "Miroslav Shubernetskiy <[email protected]>", "Serkan Hoscai <[email protected]"]
readme = "README.rst"
keywords = ["sqlalchemy mock testing", "sqlalchemy mock", "mock sqlalchemy"]
documentation = "https://mockalchemy.readthedocs.io"
documentation = "https://mock-alchemy.readthedocs.io"
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
Expand Down

0 comments on commit d20582a

Please sign in to comment.