aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 9d7679045a819fdeb5aa1c0e09748b3d5b64e856 (plain)
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
name: build

on:
- push
- pull_request

jobs:
  build:
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os:
        - ubuntu-latest
        - macos-latest

        python-version:
        - 3.6
        - 3.7
        - 3.8

    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}

      - run: |
          pip install tox
          tox -e tests,release