From f080d69dd28a66508cbdbae4a5862d13e2c8c74b Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Wed, 9 Aug 2023 00:04:01 -0400 Subject: [PATCH] Added installation CI (#504) * Add installation CI * Add leafmap import * Improve CI --- .github/workflows/installation.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/installation.yml diff --git a/.github/workflows/installation.yml b/.github/workflows/installation.yml new file mode 100644 index 0000000000..0d2f07c381 --- /dev/null +++ b/.github/workflows/installation.yml @@ -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')"