Skip to content

Commit

Permalink
Merge pull request #4 from ht-diva/ghactions
Browse files Browse the repository at this point in the history
github action for testing
  • Loading branch information
gmauro authored Sep 18, 2024
2 parents e01cf6f + 725c84b commit d210fb7
Show file tree
Hide file tree
Showing 5 changed files with 1,060 additions and 643 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test

on: [push,pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: gwasstudio
environment-file: environment.yml
auto-update-conda: true
auto-activate-base: false
python-version: ${{ matrix.python-version }}

- name: Install the project
shell: bash -el {0}
run: make install

- name: Test version
shell: bash -el {0}
run: gwasstudio --version
5 changes: 0 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@ dependencies:
- pip # pip must be mentioned explicitly, or conda-lock will fail
- poetry=1.* # or 1.1.*, or no version at all -- as you want
- tiledb::tiledbvcf-py=0.26.*

# Non-standard section listing target platforms for conda-lock:
platforms:
- linux-64
- osx-arm64
2 changes: 1 addition & 1 deletion main.py → gwasstudio/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def cli_init(
cpu_workers=cpu_workers,
).get_client()
ctx.obj["client"] = client
#logger.info("Dask dashboard available at {}".format(client.get_dashboard()))
# logger.info("Dask dashboard available at {}".format(client.get_dashboard()))


def main():
Expand Down
Loading

0 comments on commit d210fb7

Please sign in to comment.