From 435a3c35f5eae8c954d3452782199718aa8e6845 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Wed, 9 Aug 2023 00:03:09 -0400 Subject: [PATCH] Added installation CI (#1656) * Add installation CI * Improve yml * 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..9126c5cfe4 --- /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 geemap; print('geemap import successful')"