-
Notifications
You must be signed in to change notification settings - Fork 133
44 lines (40 loc) · 1.06 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 "[email protected]"
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 <[email protected]>' > ~/.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