-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (41 loc) · 1.04 KB
/
ci.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
36
37
38
39
40
41
42
43
44
45
46
47
# This file was originally generated by maturin v0.14.17
name: CI3
on:
push:
schedule:
- cron: '0 0 1 * *'
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test Python - Non-Windows
if: runner.os != 'Windows'
run: |
pip install virtualenv
virtualenv vEnv; source vEnv/bin/activate
python -m pip install --upgrade pip maturin
maturin develop
pip install -r requirements-min-dev.txt
pytest bed_reader/tests/test_opt_dep.py
echo "requirements"
pip install -r requirements.txt
echo "requirements-dev"
pip install -r requirements-dev.txt
pytest bed_reader