-
Notifications
You must be signed in to change notification settings - Fork 158
38 lines (38 loc) · 960 Bytes
/
pr_checks.yml
File metadata and controls
38 lines (38 loc) · 960 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: CI
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
defaults:
run:
shell: bash
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
os: ['macos-10.15', 'ubuntu-20.04', 'windows-2016']
python-version: ['3.6', '3.7', '3.8', '3.9']
exclude:
# pycocotools-windows doesn't have a wheel for Python 3.9
- os: windows-2016
python-version: 3.9
name: build and test (${{ matrix.os }}, Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Installing python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Installing dependencies
run: |
pip install tensorflow pytest
pip install -e .[default]
- name: Unit testing
run: |
pytest -v
datum -h