Merge pull request #215 from xeger/master #119
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: Run tests | |
on: | |
push: | |
branches: | |
- 'releases/**' | |
- master | |
pull_request: | |
branches: | |
- 'releases/**' | |
- master | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: [ '3.7', '3.8', '3.9' ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv==2018.11.26 | |
- name: Test | |
run: | | |
echo "Installing pipenv dependencies" | |
PIPENV_NOSPIN=true pipenv install --dev | |
pipenv run test |