File size: 743 Bytes
b4a8551
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e0d67e2
b4a8551
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: CI testing

on:
  pull_request:
    branches: [ master ]
    paths-ignore:
      - '**/README.md'
      - 'docs/**'

jobs:
  ci:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        python: [3.6, 3.7, 3.8, 3.9]

    steps:
      - name: Checkout repo
        uses: actions/checkout@v2

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

      - name: Upgrade pip
        run: pip install --upgrade pipenv

      - name: Run make ci
        run: make ci

      # https://github.com/codecov/codecov-action
      - name: Codecov
        uses: codecov/codecov-action@v1
        with:
          file: .coverage
          fail_ci_if_error: true