Skip to content

Commit

Permalink
Merge pull request #8 from cokelaer/main
Browse files Browse the repository at this point in the history
Update CI and tests
  • Loading branch information
cokelaer committed Dec 17, 2023
2 parents 750d557 + 05a5be2 commit 74564e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,27 @@ jobs:
uses: actions/checkout@v2

- name: conda/mamba
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.3.1-0'
environment-file: environment.yml
extra-specs: |
create-args: |
python=${{ matrix.python }}
cache-environment: true
cache-downloads: true

- name: install package itself
shell: bash -l {0}
shell: bash -el {0}
run: |
pip install .
- name: Install dependencies
shell: bash -l {0}
shell: bash -el {0}
run: |
pip install coveralls pytest-cov pytest pytest-xdist
- name: testing
shell: bash -l {0}
shell: bash -el {0}
run: |
pytest -v --cov-report term-missing --cov=sequana_pipelines.bioconvert
Expand Down
1 change: 0 additions & 1 deletion test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def test_standalone_script():

results = runner.invoke(main, args)
assert results.exit_code == 0
m.main()


def test_full():
Expand Down

0 comments on commit 74564e5

Please sign in to comment.