diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-04 16:07:28 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-04 17:07:54 +0300 |
commit | 242c63dc8bb22ee4aab769eafee129b293aeaf01 (patch) | |
tree | 2db8eb24126def8d79a6e2d555c8d84afee4d9f4 /.github | |
parent | 17299d1392c9f0e5b911510c58c8e53883273275 (diff) |
Do testing at GitHub Actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7acfef6d2..1750a764a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,38 @@ -name: CI on Windows +name: CI on: [push, pull_request] jobs: - build: + ubuntu: + runs-on: ubuntu-16.04 + strategy: + fail-fast: false + matrix: + name: [py36, py37] + include: + - name: py36 + python: 3.6 + docutils: du13 + - name: py37 + python: 3.7 + docutils: du14 + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Check Python version + run: python --version + - name: Install graphviz + run: sudo apt-get install graphviz + - name: Install dependencies + run: pip install -U tox + - name: Run Tox + run: tox -e ${{ matrix.docutils }} -- -vv + + windows: runs-on: windows-latest strategy: matrix: |