build.yml 770 Bytes
Newer Older
Gmodena's avatar
Gmodena committed
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
name: build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    continue-on-error: true
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.7, ]
        pet-data-pipeline: ["image-matching", ]
    steps:
    - uses: actions/checkout@v2
    - uses: conda-incubator/setup-miniconda@v2
      with:
          activate-environment: venv
          python-version:  ${{ matrix.python-version }}
          auto-activate-base: false
    - name: Lint with flake8
      run: cd ${{ matrix.pet-data-pipeline }}; make lint SKIP_DOCKER=true
    - name: Type check with mypy
      run: cd ${{ matrix.pet-data-pipeline }}; make mypy SKIP_DOCKER=true
    - name: Test with pytest
      run: cd ${{ matrix.pet-data-pipeline }}; make test SKIP_DOCKER=true