Skip to content

Commit

Permalink
Update installation test
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 22, 2024
1 parent cc1e4c9 commit 84c813d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ jobs:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5

- name: Install uv
uses: astral-sh/setup-uv@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: pip install setuptools .
version: "0.4.12"
enable-cache: true

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}

- name: Test import
run: python -c "import leafmap; print('leafmap import successful')"
run: uv run python -c "import leafmap; print('leafmap import successful')"

0 comments on commit 84c813d

Please sign in to comment.