Skip to content

Commit

Permalink
Added installation CI (#504)
Browse files Browse the repository at this point in the history
* Add installation CI

* Add leafmap import

* Improve CI
  • Loading branch information
giswqs committed Aug 9, 2023
1 parent eaf4fd4 commit f080d69
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/installation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

name: Linux installation
jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: pip install .
- name: Test import
run: python -c "import leafmap; print('leafmap import successful')"

0 comments on commit f080d69

Please sign in to comment.