Skip to content

Commit a3014fb

Browse files
authored
Merge pull request #486 from 3dgeo-heidelberg/dev
Version 2.0.0
2 parents 86504c4 + 37b8a5a commit a3014fb

File tree

4,958 files changed

+12345
-427005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,958 files changed

+12345
-427005
lines changed

.github/config/boost/user-config.jam

Whitespace-only changes.

.github/workflows/ci.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: Build + Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
- alpha-dev
9+
pull_request:
10+
branches:
11+
- main
12+
- dev
13+
- alpha-dev
14+
workflow_dispatch:
15+
inputs:
16+
upload-outputs:
17+
description: 'Whether to upload outputs'
18+
default: false
19+
type: boolean
20+
21+
jobs:
22+
build-and-test:
23+
runs-on: ${{ matrix.os }}
24+
name: Testing on ${{ matrix.os }} with Python ${{ matrix.python }}
25+
strategy:
26+
matrix:
27+
os:
28+
- ubuntu-latest
29+
- macos-latest
30+
- windows-latest
31+
python:
32+
- "3.9"
33+
- "3.13"
34+
35+
defaults:
36+
run:
37+
# Conda requires a login shell in order to work properly
38+
shell: bash -l {0}
39+
40+
steps:
41+
- uses: actions/checkout@v4
42+
with:
43+
fetch-depth: 0
44+
45+
- name: Create Helios dev environment
46+
uses: conda-incubator/setup-miniconda@v3
47+
with:
48+
auto-update-conda: true
49+
auto-activate-base: false
50+
activate-environment: helios-dev
51+
environment-file: environment-dev.yml
52+
python-version: ${{ matrix.python }}
53+
miniconda-version: "latest"
54+
55+
- name: Install Conda GCC
56+
if: runner.os == 'Linux'
57+
run: |
58+
conda install -y -c conda-forge gcc gxx
59+
60+
- name: Install Helios
61+
run: |
62+
python -m pip install -v .
63+
env:
64+
SETUPTOOLS_SCM_SUBPROCESS_TIMEOUT: "120"
65+
66+
# Do not run on MacOS for now - we do not yet officially support it and we need to invest a bit
67+
# more efforts into investigating broken LAZ files written by Helios on MacOS.
68+
69+
- name: Run tests (incl. regression tests)
70+
if: runner.os == 'Windows'
71+
run: |
72+
python -m pytest --regression-tests
73+
74+
- name: Run tests (excl. regression tests)
75+
if: runner.os == 'Linux'
76+
run: |
77+
python -m pytest
78+
79+
- name: Upload artifacts
80+
uses: actions/upload-artifact@v4
81+
if: github.event.inputs.upload-outputs == 'true'
82+
with:
83+
name: test-results
84+
path: output/*
85+
retention-days: 1

0 commit comments

Comments
 (0)