Skip to content

Commit

Permalink
stops @bruno-ariano from continuing to move the main around
Browse files Browse the repository at this point in the history
  • Loading branch information
gmauro committed Sep 18, 2024
1 parent e01cf6f commit bceb96c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: test

on: [push,pull_request]

jobs:
build:

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

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: cache poetry install
uses: actions/cache@v2
with:
path: ~/.local
key: poetry-1.8.3-0

- name: Install poetry
run: |
python -m pip install poetry==1.8.3
- name: Configure poetry
run: |
python -m poetry config virtualenvs.in-project true
- name: Cache the virtualenv
uses: actions/cache@v2
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
run: make dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'

- name: Install the project
run: make install
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

0 comments on commit bceb96c

Please sign in to comment.