Skip to content

Commit

Permalink
chore: troubleshooting CI
Browse files Browse the repository at this point in the history
  • Loading branch information
noamteyssier committed Oct 3, 2024
1 parent cd8dd21 commit 75a348b
Showing 1 changed file with 40 additions and 42 deletions.
82 changes: 40 additions & 42 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push]
jobs:
ci:
needs: [
ostest,
# ostest,
full-ci,
]
name: CI
Expand Down Expand Up @@ -35,53 +35,51 @@ jobs:
- name: Install project
run: |
uv sync --all-extras --dev
uvx install .
- name: Test with pytest
run: |
source .venv/bin/activate
pytest -v
uv run pytest -v
- name: Test table io from commandline
run: |
source .venv/bin/activate
geomux -i example/example.tsv.gz -o results_table.tab
uvx geomux -i example/example.tsv.gz -o results_table.tab
- name: Test adat io from commandline
run: |
source .venv/bin/activate
geomux -i example/example.h5ad -o results_table.tab
ostest:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
os: ["windows-latest", "macos-latest"]

steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Set up Python 3.11
run: uv python install 3.11

- name: Install project
run: |
uv sync --all-extras --dev
- name: Test with pytest
run: |
source .venv/bin/activate
pytest -v
- name: Test table io from commandline
run: |
source .venv/bin/activate
geomux -i example/example.tsv.gz -o results_table.tab
- name: Test adat io from commandline
run: |
source .venv/bin/activate
geomux -i example/example.h5ad -o results_table.tab
uvx geomux -i example/example.h5ad -o results_table.tab
# ostest:
# runs-on: ${{ matrix.os }}
# strategy:
# max-parallel: 5
# matrix:
# os: ["windows-latest", "macos-latest"]

# steps:
# - uses: actions/checkout@v4

# - name: Install uv
# uses: astral-sh/setup-uv@v3

# - name: Set up Python 3.11
# run: uv python install 3.11

# - name: Install project
# run: |
# uv sync --all-extras --dev

# - name: Test with pytest
# run: |
# source .venv/bin/activate
# pytest -v

# - name: Test table io from commandline
# run: |
# source .venv/bin/activate
# geomux -i example/example.tsv.gz -o results_table.tab

# - name: Test adat io from commandline
# run: |
# source .venv/bin/activate
# geomux -i example/example.h5ad -o results_table.tab

0 comments on commit 75a348b

Please sign in to comment.