Skip to content

Merge pull request #272 from kdeldycke/deprecation-warning #25

Merge pull request #272 from kdeldycke/deprecation-warning

Merge pull request #272 from kdeldycke/deprecation-warning #25

Workflow file for this run

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