File tree 4 files changed +31
-17
lines changed
sequana_pipelines/nanomerge
4 files changed +31
-17
lines changed Original file line number Diff line number Diff line change 55
55
56
56
- name : testing
57
57
run : |
58
- sequana_nanomerge --input-directory test/data/barcoded --samplesheet test/data/samplesheet.csv --input-pattern "barcode*/*fastq.gz" --summary test/data/sequence_summary.txt --use-apptainer && cd nanomerge && sh nanomerge.sh
58
+ sequana_nanomerge --input-directory test/data/barcoded --sample-sheet test/data/samplesheet.csv --input-pattern "barcode*/*fastq.gz" --summary test/data/sequence_summary.txt --use-apptainer && cd nanomerge && sh nanomerge.sh
59
59
Original file line number Diff line number Diff line change 6
6
branches :
7
7
- main
8
8
- dev
9
+ workflow_dispatch :
9
10
pull_request :
10
11
branches-ignore : []
11
12
schedule :
@@ -30,33 +31,33 @@ jobs:
30
31
- name : checkout git repo
31
32
uses : actions/checkout@v2
32
33
33
- - name : Set up Python 3.X
34
- uses : actions/setup-python@v2
34
+ - name : conda/mamba
35
+ uses : mamba-org/provision-with-micromamba@main
35
36
with :
36
- python-version : ${{ matrix.python }}
37
+ environment-file : environment.yml
38
+ extra-specs : |
39
+ python=${{ matrix.python }}
37
40
38
- - name : Add conda to system path
39
- run : |
40
- # $CONDA is an environment variable pointing to the root of the miniconda directory
41
- echo $CONDA/bin >> $GITHUB_PATH
42
41
43
- - name : Install dependencies
42
+ - name : install package itself
43
+ shell : bash -l {0}
44
44
run : |
45
- pip install pycoQC
46
- pip install .[testing]
45
+ pip install .
47
46
48
- - name : install package itself
47
+ - name : Install dependencies
48
+ shell : bash -l {0}
49
49
run : |
50
- pip install .
50
+ pip install coveralls pytest-cov pytest pytest-xdist
51
51
52
52
- name : testing
53
+ shell : bash -l {0}
53
54
run : |
54
- pytest --cov-report term --cov=sequana_pipelines.nanomerge
55
+ pytest -v --cov-report term-missing --cov=sequana_pipelines.nanomerge
56
+
55
57
- name : coveralls
58
+ shell : bash -l {0}
56
59
run : |
57
60
echo $COVERALLS_REPO_TOKEN
58
61
coveralls --service=github
59
62
env :
60
- GITHUB_TOKEN : ${{ github.token }}
61
-
62
-
63
+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change
1
+ name : nanomerge
2
+
3
+ channels :
4
+ - conda-forge
5
+ - bioconda
6
+ - defaults
7
+
8
+ dependencies :
9
+ - pycoQC
10
+ - pip :
11
+ - sequana
12
+
13
+
File renamed without changes.
You can’t perform that action at this time.
0 commit comments