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 c5d41cf commit cd8dd21
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ name: Python Package CI

on: [push]

# env:
# UV_SYSTEM_PYTHON: 1

jobs:
ci:
needs: [
# ostest,
ostest,
full-ci,
]
name: CI
Expand All @@ -33,8 +30,8 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
run: |
uv python install ${{ matrix.python-version }}
uv venv
uv venv
- name: Install project
run: |
uv sync --all-extras --dev
Expand All @@ -54,34 +51,37 @@ jobs:
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"]
ostest:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
os: ["windows-latest", "macos-latest"]

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

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

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

# - name: Install project
# run: |
# uv sync --all-extras --dev
- name: Install project
run: |
uv sync --all-extras --dev
# - name: Test with pytest
# run: |
# uv run pytest -v
- name: Test with pytest
run: |
source .venv/bin/activate
pytest -v
# - name: Test table io from commandline
# run: |
# uv run geomux -i example/example.tsv.gz -o results_table.tab
- 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: |
# uv run geomux -i example/example.h5ad -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 cd8dd21

Please sign in to comment.