Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA: include reverse dependency testing #639

Merged
merged 25 commits into from
Jan 24, 2024
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
450cda7
GHA: include reverse dependency testing
martinfleis Nov 10, 2023
68ceef7
try verbose mode
martinfleis Nov 10, 2023
dba64a8
fetch examples
martinfleis Nov 10, 2023
91c86e7
add deps, ignore region, avoid verbose this run
martinfleis Nov 10, 2023
783d82c
pip install opencv
martinfleis Nov 10, 2023
ae8feeb
Merge remote-tracking branch 'upstream/main' into reverse_deps_testing
martinfleis Nov 10, 2023
da6b0b4
disable parallel execution
martinfleis Nov 10, 2023
e7e2570
use whitelist to speedup testing
martinfleis Nov 10, 2023
bf4733d
verbose errors
martinfleis Nov 10, 2023
ed70558
test lib inside the container
martinfleis Nov 10, 2023
5315dd2
debug examples
martinfleis Nov 10, 2023
dca301e
print
martinfleis Nov 10, 2023
1461034
more dbug
martinfleis Nov 10, 2023
5c589d9
fix syntax
martinfleis Nov 10, 2023
0197c65
name error
martinfleis Nov 10, 2023
2a4e9ee
try editable install
martinfleis Nov 10, 2023
f22b26b
test all
martinfleis Nov 10, 2023
c7c8f5f
verbose again
martinfleis Nov 10, 2023
08dad19
it works!
martinfleis Nov 10, 2023
d9cde0a
Merge remote-tracking branch 'upstream/main' into reverse_deps_testing
martinfleis Nov 22, 2023
5d8b031
Merge remote-tracking branch 'upstream/main' into reverse_deps_testing
martinfleis Jan 24, 2024
aafc457
test non-parallel
martinfleis Jan 24, 2024
c0b70c0
test verbosity control
martinfleis Jan 24, 2024
bea4323
point to scientific-python repo
martinfleis Jan 24, 2024
9f3b412
triggers, verbosity and fail on failure
martinfleis Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/reverse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Test reverse dependencies
on:
push:
branches: [main]
schedule:
- cron: "0 0 * * 1,4"
workflow_dispatch:
inputs:
version:
description: Manual reverse dependency testing
default: test
required: false

jobs:
reverse_dependencies:
name: Reverse dependency testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: scientific-python/reverse-dependency-testing-action@main
with:
package_name: libpysal
ignore: >-
fine
tigernet
cenpy
autoesda
region
greedy
pysal
mesa-geo
include: >-
mapclassify
install: >-
setuptools-scm
py-opencv
h3-py
hdbscan
pandana
astropy
geodatasets
bokeh
pulp
install_pip: >-
opencv-contrib-python
KDEpy
installation_command: >-
pip install -e .; python -c 'import libpysal; libpysal.examples.fetch_all()'
fail_on_failure: true
verbose: true
parallel: true