-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) · 845 Bytes
/
Copy pathbuild_branch.yml
File metadata and controls
38 lines (31 loc) · 845 Bytes
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
name: Build Branch
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
conda env create --file environment.yml
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate ml-ids-api
pip install -e .
- name: Static Type Check
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate ml-ids-api
make typecheck
- name: Code Quality Check
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate ml-ids-api
make lint-errors
- name: Test with pytest
run: |
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate ml-ids-api
make test