Skip to content

bump up checkout action version #402

bump up checkout action version

bump up checkout action version #402

Workflow file for this run

name: Build
on:
pull_request:
branches:
- '*'
push:
branches:
- '*'
release:
types:
- published
defaults:
run:
shell: bash -l -eo pipefail {0}
jobs:
build:
name: Build ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Check out python-pdal
uses: actions/checkout@v4
- name: Check out python-pdal-plugins
uses: actions/checkout@v4
with:
repository: PDAL/python-plugins
path: ./plugins
ref: main
- name: Setup micromamba
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniforge-version: latest
python-version: ${{ matrix.python-version }}
use-mamba: true
auto-update-conda: true
environment-file: .github/environment.yml
- name: Install python-pdal
run: |
pip install -vv . --no-deps --no-build-isolation
- name: Install python-pdal-plugins
working-directory: ./plugins
run: pip install -vv . --no-deps --no-build-isolation
- name: Test
run: |
export PDAL_DRIVER_PATH=$(python -m pdal --pdal-driver-path)
export PDAL_PLUGIN_PATH=$(python -m pdal --pdal-plugin-path)
echo "PDAL_DRIVER_PATH $PDAL_DRIVER_PATH"
echo "PDAL_PLUGIN_PATH $PDAL_PLUGIN_PATH"
export PDAL_DRIVER_PATH=$PDAL_PLUGIN_PATH:$PDAL_DRIVER_PATH
python -m pdal
pdal --drivers --debug
py.test -v test/