-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added workflow to compare rcoins to momepy on pull request.
- Loading branch information
thijsvl
committed
Jan 16, 2025
1 parent
709bf80
commit 5af571a
Showing
2 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Workflow derived from https://github.com/marketplace/actions/setup-miniconda#example-3-other-options | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
name: Compare to momepy | ||
on: [pull_request] | ||
|
||
jobs: | ||
compare-momepy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up conda environment | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
activate-environment: anaconda-client-env | ||
environment-file: environment.yml | ||
python-version: 3.13 | ||
auto-activate-base: false | ||
- name: Install momepy dependencies | ||
run: | | ||
conda install geopandas momepy pytest | ||
conda info | ||
conda list | ||
- name: Compare rcoins output to momepy output | ||
run: | | ||
Rscript -e 'devtools::install()' | ||
Rscript scripts/compare_momepy/prepare-test-stroke.R | ||
python -m pytest -v |
This file was deleted.
Oops, something went wrong.