-
Notifications
You must be signed in to change notification settings - Fork 41
35 lines (34 loc) · 878 Bytes
/
Copy pathtest.yml
File metadata and controls
35 lines (34 loc) · 878 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
name: Test
on:
push:
pull_request:
schedule:
- cron: 0 3 * * 6 # Every Saturday at 3:00 AM
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install native dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends \
libatlas-base-dev \
liblapack-dev \
gfortran \
libsuitesparse-dev \
libgdal-dev \
graphviz \
mono-devel
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: make install
- name: Run tests
run: make test