-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old Pipfiles and add dev-requirements.txt for PyMEOS
- Loading branch information
Showing
5 changed files
with
100 additions
and
35 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,48 @@ | ||
name: Test Develop | ||
|
||
on: | ||
push: | ||
branches: [ "develop" ] | ||
pull_request: | ||
branches: [ "develop" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install MEOS | ||
run: | | ||
apt install build-essential cmake postgresql-server-dev-15 libproj-dev libjson-c-dev libgsl-dev libgeos-dev | ||
git clone --branch develop https://github.com/MobilityDB/MobilityDB | ||
mkdir MobilityDB/build | ||
cd MobilityDB/build | ||
cmake .. -DMEOS=on | ||
make -j | ||
make install | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r pymeos_cffi/dev-requirements.txt | ||
pip install -r pymeos/dev-requirements.txt | ||
- name: Install pymeos_cffi | ||
run: | | ||
cd pymeos_cffi | ||
python ./pymeos_cffi/builder/build_header.py | ||
python ./pymeos_cffi/builder/build_pymeos_functions.py | ||
pip install . | ||
cd .. | ||
- name: Test PyMEOS with pytest | ||
run: | | ||
cd pymeos | ||
pytest |
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,48 @@ | ||
name: Test Master | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install MEOS | ||
run: | | ||
apt install build-essential cmake postgresql-server-dev-15 libproj-dev libjson-c-dev libgsl-dev libgeos-dev | ||
git clone https://github.com/MobilityDB/MobilityDB | ||
mkdir MobilityDB/build | ||
cd MobilityDB/build | ||
cmake .. -DMEOS=on | ||
make -j | ||
make install | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r pymeos_cffi/dev-requirements.txt | ||
pip install -r pymeos/dev-requirements.txt | ||
- name: Install pymeos_cffi | ||
run: | | ||
cd pymeos_cffi | ||
python ./pymeos_cffi/builder/build_header.py | ||
python ./pymeos_cffi/builder/build_pymeos_functions.py | ||
pip install . | ||
cd .. | ||
- name: Test PyMEOS with pytest | ||
run: | | ||
cd pymeos | ||
pytest |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
python-dateutil | ||
shapely | ||
geopandas | ||
pytest |
This file was deleted.
Oops, something went wrong.