Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jan 15, 2024
1 parent dc823eb commit b95b3d5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,31 @@ jobs:
- '3.12'

steps:
- name: Install Python via conda.
uses: s-weigand/setup-conda@v1
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
conda-channels: defaults,bioconda,conda-forge
python-version: "${{ matrix.python-version }}"

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: true
- name: Install mamba.
run: conda install -y mamba

- name: Install test dependencies via pip
run: pip install -r requirements/test_black.txt

- name: Lint
run: make lint

- name: Run tests
run: pytest
- name: Create text report
run: coverage report
- name: Create XML report for codacy
run: coverage xml
run: |
make test
coverage report
coverage xml
- name: Upload Python coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
flags: python
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Check style with black
run: make black-check
- name: Check style with flake8
run: flake8 .
2 changes: 1 addition & 1 deletion tests/test_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typer.testing import CliRunner

from altamisa.apps import isatab2dot, isatab2isatab, isatab_validate
from altamisa.exceptions import IsaException, IsaWarning
from altamisa.exceptions import IsaWarning

runner = CliRunner()

Expand Down

0 comments on commit b95b3d5

Please sign in to comment.