Skip to content

Commit 0482121

Browse files
committed
Update CI
1 parent f0d3abd commit 0482121

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,4 @@ jobs:
6262
- name: Run Tests
6363
shell: bash
6464
working-directory: ${{ steps.strings.outputs.build-dir }}
65-
run: |
66-
if [[ "${{ matrix.os }}" == "windows-2022" ]]; then
67-
# Python tests do not seem to work on Windows CI environments
68-
ctest --build-config ${{ matrix.build_type }} --parallel 4 --output-on-failure -E "edlib_tests|test_binding_basic_py|test_binding_align_benchmark_py"
69-
else
70-
ctest --build-config ${{ matrix.build_type }} --parallel 4 --output-on-failure -E edlib_tests
71-
fi
65+
run: ctest --build-config ${{ matrix.build_type }} --parallel 4 --output-on-failure -E edlib_tests

.github/workflows/python_wheels.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
name: Build Python Wheels
22

33
on:
4-
push:
5-
branches: [main]
6-
paths-ignore: # Skip the workflow if only documentation files are changed
7-
- "**/*.md"
8-
- "**/LICENSE"
9-
pull_request:
10-
branches: [main]
11-
paths-ignore: # Skip the workflow if only documentation files are changed
12-
- "**/*.md"
13-
- "**/LICENSE"
4+
release:
5+
types: [created]
146
workflow_dispatch:
157

168
jobs:
179
build_wheels:
1810
name: Build wheels on ${{ matrix.os }}
1911
runs-on: ${{ matrix.os }}
2012
strategy:
21-
fail-fast: false
2213
matrix:
2314
os: [ubuntu-24.04, macos-13, macos-14, windows-2022] # Macos 13 (Intel) / Macos 14 (Apple Silicon)
2415

examples/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ endforeach ()
3535
# Python Binding Examples
3636
find_package(Python3 REQUIRED COMPONENTS Interpreter)
3737

38-
add_test(NAME binding_install_py COMMAND ${Python3_EXECUTABLE} -m pip install --user ${PROJECT_SOURCE_DIR})
38+
add_test(NAME binding_install_py COMMAND ${Python3_EXECUTABLE} -m pip install --user --break-system-packages ${PROJECT_SOURCE_DIR})
3939
set_tests_properties(binding_install_py PROPERTIES
4040
FIXTURES_SETUP python_setup) # Phony test to install the Python bindings
4141

@@ -47,8 +47,4 @@ add_test(NAME test_binding_align_benchmark_py COMMAND
4747
${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/bindings/align_benchmark.py ${PROJECT_SOURCE_DIR}/tests/test_data/ONT.MiniION.1.seq)
4848
set_tests_properties(test_binding_align_benchmark_py PROPERTIES LABELS "examples")
4949
set_tests_properties(test_binding_align_benchmark_py PROPERTIES PASS_REGULAR_EXPRESSION "Score: 39743")
50-
set_tests_properties(test_binding_align_benchmark_py PROPERTIES FIXTURES_REQUIRED python_setup)
51-
52-
add_test(NAME binding_cleanup_py COMMAND ${Python3_EXECUTABLE} -m pip uninstall -y quicked)
53-
set_tests_properties(binding_cleanup_py PROPERTIES
54-
FIXTURES_CLEANUP python_setup) # Phony test to uninstall the Python bindings
50+
set_tests_properties(test_binding_align_benchmark_py PROPERTIES FIXTURES_REQUIRED python_setup)

0 commit comments

Comments
 (0)