Merge pull request #272 from kdeldycke/deprecation-warning #25
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: CI | |
on: | |
- push | |
- pull_request | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
tox: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
python-version: | |
- "3.6" | |
- "3.7" | |
- "3.8" | |
- "pypy-3.7" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Check git is working | |
run: | | |
git config --global user.email "bumpversion-test-git@github.actions" | |
git config --global user.name "Testing Git on Travis CI" | |
git --version | |
git config --list | |
- name: Check mercurial is working | |
run: | | |
echo -e '[ui]\nusername = Testing Mercurial on Travis CI <bumpversion-test-hg@travis.ci>' > ~/.hgrc | |
hg --version | |
- name: Install test dependencies | |
run: pip install tox tox-gh-actions | |
- name: Run setup and tests as defined in tox.ini | |
run: tox |