Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
a221f74
Bump peter-evans/create-or-update-comment from 3 to 4
dependabot[bot] Apr 1, 2024
7bb790c
Bump codecov/codecov-action from 3 to 4
dependabot[bot] Apr 1, 2024
159236a
Bump actions/cache from 3 to 4
dependabot[bot] Apr 1, 2024
ee33deb
Bump actions/setup-python from 4 to 5
dependabot[bot] Apr 1, 2024
b120887
Future release version 0.1.8
domfournier Apr 3, 2024
412f177
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 29, 2024
b6d5bdf
Merge pull request #44 from MiraGeoscience/dependabot/github_actions/…
domfournier May 1, 2024
e751251
Merge pull request #45 from MiraGeoscience/dependabot/github_actions/…
domfournier May 1, 2024
b9036ab
Merge pull request #46 from MiraGeoscience/dependabot/github_actions/…
domfournier May 1, 2024
ff8ff40
Merge pull request #47 from MiraGeoscience/dependabot/github_actions/…
domfournier May 1, 2024
33021cd
Merge branch 'develop' into pre-commit-ci-update-config
domfournier May 1, 2024
ab7a64b
Update reqs
domfournier May 22, 2024
df59185
Abandon 3.9 testing
domfournier May 22, 2024
c8c780f
Remove auto-flake
domfournier May 22, 2024
75a3b3f
Merge pull request #43 from MiraGeoscience/pre-commit-ci-update-config
domfournier May 22, 2024
8a77f66
Merge branch 'develop' into update_reqs
domfournier May 22, 2024
9444611
Merge pull request #54 from MiraGeoscience/update_reqs
domfournier May 22, 2024
59c78d6
Use url for geoh5py
domfournier May 22, 2024
5baf568
Merge branch 'develop' into update_reqs
domfournier May 22, 2024
4f3d1fd
Merge pull request #55 from MiraGeoscience/update_reqs
domfournier May 22, 2024
5f76bdc
Merge branch 'main' into develop
sebhmg Jun 27, 2024
ddb4b67
set version to 0.1.8-alpha.1
sebhmg Jun 27, 2024
3e69137
fix typo on commented line
sebhmg Jun 29, 2024
739270a
newer geoh5py, newer numpy
sebhmg Jun 27, 2024
3dff47b
point to git revision for geoh5py
sebhmg Jun 29, 2024
02fd846
also run tests on Python 3.11 and 3.12
sebhmg Jun 29, 2024
12b4968
allow python 3.12 (but no more 3.9)
sebhmg Jun 29, 2024
4f2881f
pre-commit autoupdate
sebhmg Jun 29, 2024
b1e878e
Merge pull request #57 from sebhmg/main_to_develop
sebhmg Jun 29, 2024
6c4f259
do not require geoh5py develop branch: just allow 0.9.1 or 0.10
sebhmg Jul 4, 2024
2b2e409
allow python3.9
sebhmg Jul 4, 2024
fe7c668
Merge pull request #58 from sebhmg/GEOPY-1610
sebhmg Jul 4, 2024
caf4da2
no more use of mypy pydantic plugin
sebhmg Jul 5, 2024
ed020ed
no more use of mypy pydantic plugin
sebhmg Jul 5, 2024
30834a1
GEOPY-1610: static analysis on Python 3.9
sebhmg Jul 5, 2024
13c05a3
Merge pull request #59 from sebhmg/GEOPY-1610
sebhmg Jul 5, 2024
24e15f3
bump version to 0.2.0-alpha.1
sebhmg Jul 12, 2024
a3c6422
[GEOPY-1233] Use reusable github workflows
Jul 18, 2024
7e8d03d
[GEOPY-1233] Use mirageoscience.pre-commit-hooks pacakge + Update rst…
Jul 18, 2024
bf67c50
[DEVOPS-452] Add ruff hook in .pre-commit-config.yaml
Jul 24, 2024
1bf3fde
Merge branch 'main' into develop
sebhmg Jul 30, 2024
ca67f69
[DEVOPS-452] Update with new github workflows + pre-commit-hooks
Jul 30, 2024
dce6b0c
[DEVOPS-452] Correct pyproject.toml syntax
Jul 30, 2024
6319613
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 30, 2024
78c5bc5
[DEVOPS-452] Delete useless script
Jul 30, 2024
1bca21f
Merge branch 'DEVOPS-452' of https://github.com/MiraGeoscience/param-…
Jul 30, 2024
5c79ba6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 30, 2024
2c686cd
[DEVOPS-452] Update python_analysis with the new CI-tools release
Jul 31, 2024
a0fd7ee
[DEVOPS-452] Pre-commit fixes
Jul 31, 2024
605a42a
Merge branch 'DEVOPS-452' of https://github.com/MiraGeoscience/param-…
Jul 31, 2024
157e6e1
Merge branch 'develop' of https://github.com/MiraGeoscience/param-swe…
Jul 31, 2024
fa24ab8
[DEVOPS-452] rst ``code`` is two backticks fix
Jul 31, 2024
8263b65
pyproject: remove commented out git URL
sebhmg Aug 2, 2024
1b8b461
[DEVOPS-452] Update ruff python version
Swendart Aug 7, 2024
02f096c
require Python 3.10
sebhmg Aug 7, 2024
ec6a438
Merge pull request #65 from MiraGeoscience/DEVOPS-452
sebhmg Aug 8, 2024
3ec1bef
[DEVOPS-466] Update input variable in shared workflows
Sep 16, 2024
ac50369
[DEVOPS-466] Update input variable in shared workflows
Sep 16, 2024
3c392a4
[DEVOPS-466] Update input variable in shared workflows
Sep 16, 2024
bbcd90c
[GEOPY-1712] Exclude RUFF005
Sep 18, 2024
89201f2
Revert "[DEVOPS-466] Update input variable in shared workflows"
Sep 18, 2024
e3be50d
Merge pull request #67 from MiraGeoscience/GEOPY-1712
Swendart Sep 19, 2024
0a3afa5
[DEVOPS-466] Update python_analysis
Sep 25, 2024
51251c9
Merge branch 'develop' into DEVOPS-466
Swendart Sep 25, 2024
175343c
[DEVOPS-466] Update before merging
Sep 27, 2024
0ac7478
Merge branch 'DEVOPS-466' of https://github.com/MiraGeoscience/param-…
Sep 27, 2024
1ad6378
Merge pull request #66 from MiraGeoscience/DEVOPS-466
Swendart Sep 27, 2024
1ba7c1a
[DEVOPS-504] Add publish workflows
Oct 5, 2024
2a863d0
[DEVOPS-504] Update poetry lock
Oct 5, 2024
3013f1c
[DEVOPS-504] Modify repo-name
Oct 5, 2024
9d42c71
[DEVOPS-504] Update repo-name
Oct 5, 2024
6fd6b7f
[DEVOPS-504] Update deploy workflows
Oct 5, 2024
bb65d1b
[DEVOPS-5804] Update pyproject and poetry.lock
Oct 8, 2024
d320930
Update locks, fix tests
domfournier Oct 8, 2024
57431c5
[DEVOPS-504] Update for PR: Correct pre-commit-config, add some versi…
Oct 9, 2024
c7a5c53
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 9, 2024
6f0244c
[DEVOPS-504] Add poetry.lock
Oct 9, 2024
b562d21
Merge branch 'DEVOPS-504' of https://github.com/MiraGeoscience/param-…
Oct 9, 2024
7ffcedc
Merge pull request #68 from MiraGeoscience/GEOPY-1778
domfournier Oct 9, 2024
ac5762e
GEOPY-515: bump development version to 0.3.0-alpha
sebhmg Oct 9, 2024
a7ff999
[DEVOPS-504] Update reference + Update version in conda's recipe
Oct 10, 2024
bf49f45
Merge branch 'develop' into DEVOPS-504
Swendart Oct 15, 2024
101aa68
Delete .jfrog/projects/poetry.yaml
Swendart Oct 15, 2024
96c96bb
[DEVOPS-504] Update poetry.lock file
Oct 15, 2024
0b9a106
Merge branch 'DEVOPS-504' of https://github.com/MiraGeoscience/param-…
Oct 15, 2024
44c4733
[DEVOPS-504] Update poetry.lock
Oct 15, 2024
371a605
[DEVOPS-504] Update comment in python_deploy_dev
Oct 16, 2024
4480c1f
Merge pull request #69 from MiraGeoscience/DEVOPS-504
Swendart Oct 17, 2024
e3a1d98
Merge remote-tracking branch 'upstream/develop' into release/0.2.0
sebhmg Oct 17, 2024
59ed5d2
[DEVOPS-515] restore release version to 0.2.0 alpha
sebhmg Oct 17, 2024
08f8442
[DEVOPS-515] apply pre-comit autoupdate
sebhmg Oct 17, 2024
0593ba3
Merge pull request #70 from MiraGeoscience/DEVOPS-515_DEVOPS-504
sebhmg Oct 17, 2024
89e6d07
[DEVOPS-511] Update deploy workflows to release pip package on pypi
Oct 20, 2024
741b8df
enable pre-commit check-added-large-files
sebhmg Oct 24, 2024
5764597
publish to codecov one platform only
sebhmg Oct 24, 2024
033bee4
change labels of publish tasks
sebhmg Oct 31, 2024
65e241d
force dependency on published geoh5py >= 0.10.0-alpha.1
sebhmg Oct 31, 2024
0f55950
bump version to alpha.2
sebhmg Oct 31, 2024
3add899
fix name for test-pypi repo
sebhmg Oct 31, 2024
a68b609
add concurrency conditions to github publish workflows
sebhmg Nov 1, 2024
79bcd6c
use new publish worflows
sebhmg Nov 16, 2024
a4d2d2d
bump version to beta.1
sebhmg Nov 16, 2024
6b82b8e
relock on latest published geoh5py
sebhmg Nov 16, 2024
56bb8ff
align version spec in conda meta and pyproject.toml
sebhmg Nov 16, 2024
146dbc3
minor github workflow job renaming
sebhmg Nov 18, 2024
c8580bb
bump version to beta.2
sebhmg Nov 18, 2024
a0d3a5d
[GEOPY-1860] do not include top level files in wheels
sebhmg Nov 20, 2024
05246b4
h5py license is BSD-3-Clause
sebhmg Dec 10, 2024
fe5ca2d
[DEVOPS-540] Add a test to check version consistency
Dec 17, 2024
8c2d069
[DEVOPS-540] Correct test
Dec 17, 2024
13b6b6b
Merge pull request #73 from MiraGeoscience/DEVOPS-540
domfournier Dec 17, 2024
960df81
[GEOPY-1933] pre-commit autoupdate
sebhmg Jan 10, 2025
d0cadde
[GEOPY-1933] update copyrights
sebhmg Jan 10, 2025
5e11751
Merge pull request #75 from sebhmg/GEOPY-1933
sebhmg Jan 10, 2025
f5c172b
[GEOPY-1935] relock on newer geoh5py
sebhmg Jan 10, 2025
f9c4e5a
[GEOPY-1935] bump version to rc.1
sebhmg Jan 10, 2025
fcc9090
Merge pull request #76 from sebhmg/GEOPY-1935
sebhmg Jan 10, 2025
5e64c2a
[GEOPY-1933] commit PyCharm copyright settings
sebhmg Jan 12, 2025
0396a6c
Change versions
domfournier Feb 4, 2025
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
34 changes: 5 additions & 29 deletions .github/workflows/issue_to_jira.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
# This workflow will create a JIRA issue upon creation of a GitHub issue

name: Create JIRA issue

on:
issues:
types: [opened]

jobs:
new_jira_issue:
runs-on: ubuntu-latest

steps:
- name: JIRA Login
uses: atlassian/gajira-login@v3.0.1
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Jira Create issue
id: create_jira_issue
uses: atlassian/gajira-create@v3.0.1
with:
project: GEOPY
issuetype: Story
summary: ${{ github.event.issue.title }}
description: "_from [GitHub issue #${{ github.event.issue.number }}|${{ github.event.issue.html_url }}]_"
# Additional fields in JSON format
fields: '{"components": [{"name": "param-sweeps"}]}'
- name: Post JIRA link
uses: peter-evans/create-or-update-comment@v3
with:
# The number of the issue or pull request in which to create a comment.
issue-number: ${{ github.event.issue.number }}
# The comment body.
body: "JIRA issue [${{ steps.create_jira_issue.outputs.issue }}] was created."
call-workflow-create-jira-issue:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-issue_to_jira.yml@main
secrets: inherit
with:
project_key: 'GEOPY'
60 changes: 3 additions & 57 deletions .github/workflows/pr_add_jira_summary.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,10 @@
# This workflow will comment the PR with the JIRA issue summary
# if a JIRA issue number is detected in the branch name or title

name: Add JIRA issue summary

on:
pull_request_target:
types: [opened]

jobs:
add_jira_summary:
runs-on: ubuntu-latest

steps:
- name: Find JIRA issue key
id: find_jira_key
env:
HEAD_REF: ${{ github.head_ref}}
PR_TITLE: ${{ github.event.pull_request.title }}
run: >
echo $HEAD_REF $PR_TITLE
| echo "issue_key=$(
grep -osi "\b\(GA\|GEOPY\|DEVOPS\)[ #-]*[0-9]\+"
| head -n1
| sed -E "s/([A-Z]+)[-# ]*([0-9]+)/\1-\2/i"
| tr [:lower:] [:upper:]
)"
>> $GITHUB_OUTPUT
- name: Get JIRA summary
id: get_jira_summary
if: ${{ steps.find_jira_key.outputs.issue_key }}
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_BASIC_AUTH: ${{ secrets.JIRA_BASIC_AUTH }}
run: >
curl -sS -X GET
-H "Authorization: Basic $JIRA_BASIC_AUTH"
-H "Content-Type: application/json"
"$JIRA_BASE_URL/rest/api/2/issue/${{ steps.find_jira_key.outputs.issue_key }}"
| echo "summary=$(jq -r '.fields.summary // empty')" >> $GITHUB_OUTPUT
- name: Extract PR title
id: get_pr_title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "text=$(echo $PR_TITLE | sed -E "s/^\s*[?[A-Z]+[-# ]*[0-9]+]?[-: ]*(.*)/\1/i")" >> $GITHUB_OUTPUT
- name: Add comment
if: ${{ steps.find_jira_key.outputs.issue_key }}
env:
ISSUE_SUMMARY: ${{ steps.get_jira_summary.outputs.summary }}
TITLE_TEXT: ${{ steps.get_pr_title.outputs.text }}
PR_BODY: ${{ github.event.pull_request.body }}
run: >
jq
--arg ISSUE_ID "${{ steps.find_jira_key.outputs.issue_key }}"
--arg ISSUE_SUMMARY "$(cat <<< $ISSUE_SUMMARY)"
--arg TITLE_TEXT "$(cat <<< ${TITLE_TEXT:-$ISSUE_SUMMARY})"
--arg PR_BODY "$(cat <<< $PR_BODY)"
-c '{"title": ($ISSUE_ID + ": " + $TITLE_TEXT), "body": ("**" + $ISSUE_ID + " - " + $ISSUE_SUMMARY + "**\n" + $PR_BODY)}' <<< {}
| curl -sS -X POST -d @-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
-H "Content-Type: application/json"
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.pull_request.number }}"
> /dev/null
call-workflow-add-jira-issue-summary:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_add_jira_summary.yml@main
secrets: inherit
64 changes: 0 additions & 64 deletions .github/workflows/pytest-unix-os.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/pytest-windows.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/python_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Python analysis

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
push:
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-static-analysis:
name: Static analysis
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@main
with:
package-manager: 'poetry'
app-name: 'param_sweeps'
python-version: '3.10'
call-workflow-pytest:
name: Pytest
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@main
with:
package-manager: 'poetry'
python-versions: '["3.10", "3.11", "3.12"]'
os: '["ubuntu-latest", "windows-latest"]'
cache-number: 1
codecov-reference-python-version: '3.10'
codecov-reference-os: '["windows-latest"]'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/python_deploy_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy python package in development

on:
push:
tags:
- 'v*' # Push events to every version tag (eg. v1.0.0)

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-conda-publish:
name: Publish development conda package on JFrog Artifactory
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_conda_package.yml@main
with:
package-name: 'param-sweeps'
python-version: '3.10'
virtual-repo-names: '["public-conda-dev"]'
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-publish:
name: Publish development pypi package (JFrog Artifactory, TestPyPI)
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@main
with:
package-manager: 'poetry'
package-name: 'param-sweeps'
version-tag: ${{ github.ref_name }}
python-version: '3.10'
virtual-repo-names: '["public-pypi-dev", "test-pypi"]'
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
46 changes: 46 additions & 0 deletions .github/workflows/python_deploy_prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy python package in production

on:
release:
types: [published]
workflow_dispatch:
inputs:
release-tag:
description: 'Tag for the existing (draft) release to publish assets from'
required: true
publish-conda:
description: 'Publish Conda package'
required: false
default: true
publish-pypi:
description: 'Publish PyPI package'
required: false
default: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.release.tag_name || github.event.inputs.release-tag || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-conda-release:
name: Publish production Conda package on JFrog Artifactory
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main
if: ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }}
with:
virtual-repo-names: '["public-conda-prod"]'
release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-release:
name: Publish production PyPI package (JFrog Artifactory, PyPI)
if: ${{ github.event_name == 'release' || github.event.inputs.publish-pypi == 'true' }}
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@main
with:
package-name: 'param-sweeps'
virtual-repo-names: '["public-pypi-prod", "pypi"]'
release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Loading