Bumping version to 1.7.0 #1003
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: Build & Test | |
'on': | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
schedule: | |
- cron: 0 16 * * * | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: | |
- 3.6 | |
- 3.7 | |
- 3.8 | |
- 3.9 | |
include: | |
- os: "ubuntu-latest" | |
# There is no build for Python 3.6 in ubuntu>20.04. | |
# This unclude can be removed when we drop support for Python 3.6. | |
- os: "ubuntu-20.04" | |
python-version: "3.6" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: 'Set up Python ${{ matrix.python-version }}' | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '${{ matrix.python-version }}' | |
- name: Install dependencies | |
run: | | |
pip3 install -r requirements.txt | |
pip3 install . | |
pip3 install coverage | |
- name: Run Tests | |
run: | | |
coverage run setup.py test | |
coverage xml |