Bumped version to 3.2.23.0 (#311) #262
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
name: Checks | |
on: [push] | |
jobs: | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install flake8 | |
run: pip install --upgrade flake8 | |
- name: Run flake8 | |
uses: liskin/gh-problem-matcher-wrap@v1 | |
with: | |
linters: flake8 | |
run: flake8 | |
isort: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- run: python -m pip install isort | |
- name: isort | |
uses: liskin/gh-problem-matcher-wrap@v1 | |
with: | |
linters: isort | |
run: isort -c -rc -df aldryn_django | |
unit-tests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.7, 3.8, 3.9] | |
steps: | |
- uses: actions/checkout@v1 | |
- 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 --upgrade urllib3 | |
pip install -r tests/requirements.txt | |
python setup.py install | |
- name: Run coverage | |
run: coverage run setup.py test | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 |