-
Notifications
You must be signed in to change notification settings - Fork 10
35 lines (31 loc) · 982 Bytes
/
LocusPocus.yml
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: LocusPocus CI Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
sudo apt-get update -q
sudo apt-get install libcurl4-openssl-dev libssl-dev libpango1.0-dev libcairo2-dev libyaml-dev
python -m pip install --upgrade pip
python -m pip install pyyaml pycurl pandas
python -m pip install setuptools
python -m pip install pytest pytest-cov pycodestyle
data/scripts/github-actions-prereqs.sh
- name: Style check
run: make style
- name: Test with pytest
run: |
export PATH=$HOME/local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/local/lib
make test ci-test