diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72658fe..2489320 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/test/test_main.py b/test/test_main.py index 25ad561..4a95d04 100644 --- a/test/test_main.py +++ b/test/test_main.py @@ -45,7 +45,6 @@ def test_standalone_script(): results = runner.invoke(main, args) assert results.exit_code == 0 - m.main() def test_full():