-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from RAMP-project/release/0.5.0
Release v0.5.0
- Loading branch information
Showing
103 changed files
with
397,424 additions
and
2,438 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,40 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: RAMP tests | ||
|
||
on: | ||
push: | ||
branches: [ "main", "development" ] | ||
pull_request: | ||
branches: [ "main", "development" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
- name: Install black | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install black | ||
- name: Lint with black | ||
run: | | ||
black . --check | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
pip install -r tests/requirements.txt | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/ |
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,35 @@ | ||
name: Deploy to PyPi | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
build_and_deploy: | ||
name: Build the release and deploy to test pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install main dependencies | ||
run: | | ||
python -m pip install --upgrade pip twine setuptools wheel | ||
- name: build distribution | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
- name: test install package | ||
run: | | ||
pip install -e . | ||
- name: Publish distribution 📦 to PyPI | ||
|
||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
verbose: true | ||
password: ${{ secrets.RAMP_PYPI_PW }} | ||
repository_url: https://upload.pypi.org/legacy/ |
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,42 @@ | ||
name: Deploy to Test PyPi | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
- main | ||
|
||
pull_request: | ||
branches: | ||
- development | ||
- main | ||
jobs: | ||
build_and_deploy: | ||
name: Build the release and deploy to test pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install main dependencies | ||
run: | | ||
python -m pip install --upgrade pip twine setuptools wheel | ||
- name: build distribution | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
- name: test install package | ||
run: | | ||
pip install -e . | ||
- name: Publish distribution 📦 to TestPyPI | ||
|
||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
skip-existing: true | ||
verbose: true | ||
password: ${{ secrets.RAMP_TEST}} | ||
repository-url: https://test.pypi.org/legacy/ |
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
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 |
---|---|---|
|
@@ -15,5 +15,11 @@ Mohammad Amin Tahavori, VITO <[email protected]> | |
Sylvain Quoilin, Université de Liège <[email protected]> | ||
Nicolò Stevanato, Politecnico di Milano <[email protected]> | ||
Gokarna Dhungel, Reiner Lemoine Institut <[email protected]> | ||
Avia Linke, Reiner Lemoine Institut <[email protected]> | ||
Avia Linke, Reiner Lemoine Institut <[email protected]> | ||
Katrin Lammers, Reiner Lemoine Institut <[email protected]> | ||
Claudia Sanchez Solis, Université de Liège <[email protected]> | ||
Sarah Eckhoff, Leibniz Universität Hannover <[email protected]> | ||
Maria C.G. Hart, Leibniz Universität Hannover <[email protected]> | ||
Francesco Sanvito, TU Delft <[email protected]> | ||
Gregory Ireland, Reiner Lemoine Institut <[email protected]> | ||
Sergio Balderrama, Universidad Mayor de San Simon <[email protected]> |
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
Oops, something went wrong.