-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (45 loc) · 1.2 KB
/
main.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
48
49
name: nextflow.py CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
nextflow-version:
- "24.10.4"
- "23.10.4"
- "22.10.8"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Install Nextflow ${{ matrix.nextflow-version }}
run: |
mkdir install
cd install
export NXF_VER=${{ matrix.nextflow-version }}
curl -s https://get.nextflow.io | bash
chmod +x nextflow
mv nextflow /usr/local/bin
cd ..
rm -r install
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install python-coveralls
pip install freezegun
pip install coverage==4.5.4
- name: Test
run: |
python -m unittest discover tests