-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.12 KB
/
pythonpackage.yml
File metadata and controls
39 lines (36 loc) · 1.12 KB
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
name: Build Status
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install OS Packages
run: |
sudo apt-get -y install libsnappy-dev
sudo apt-get -y install liblz4-dev
sudo apt-get -y install gcc
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade nox setuptools wheel codecov
pip install -r test-requirements.txt
pip install -e ".[compression]"
- name: NOX framework preflight check
run: |
nox -s check
- name: NOX framework test
run: |
nox -s test-${{ matrix.python-version }}
# nox -s test-${{ matrix.python-version }} -- -m "not live" --cov-config=.avoidtestcov
- name: Upload coverage report
run: |
codecov --token=${{ secrets.CODECOV_BUILD_SAVEME }}