-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: Merge pull request #112 from octue/move-children-schema-to-strands
Move children schema to strands
- Loading branch information
Showing
14 changed files
with
95 additions
and
235 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 |
---|---|---|
|
@@ -11,30 +11,25 @@ on: | |
jobs: | ||
check-semantic-version: | ||
if: "!contains(github.event.head_commit.message, 'skipci')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: octue/[email protected] | ||
with: | ||
path: setup.py | ||
breaking_change_indicated_by: minor | ||
uses: octue/workflows/.github/workflows/check-semantic-version.yml@main | ||
with: | ||
path: setup.py | ||
breaking_change_indicated_by: minor | ||
|
||
run-tests: | ||
if: "!contains(github.event.head_commit.message, 'skipci')" | ||
runs-on: ubuntu-latest | ||
env: | ||
USING_COVERAGE: '3.8' | ||
USING_COVERAGE: '3.9' | ||
strategy: | ||
matrix: | ||
python: [3.8] | ||
python: ['3.8', '3.9'] | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
|
@@ -45,10 +40,11 @@ jobs: | |
run: tox | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: coverage.xml | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
publish: | ||
if: "!contains(github.event.head_commit.message, 'skipci')" | ||
|
@@ -62,9 +58,9 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
python-version: "3.9" | ||
|
||
- name: Make package | ||
run: | | ||
|
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 |
---|---|---|
@@ -1,30 +1,18 @@ | ||
# This workflow updates the pull request description with an auto-generated section containing the categorised commit | ||
# message headers of the commits since the last pull request merged into main. The auto generated section is enveloped | ||
# between two comments: "<!--- START AUTOGENERATED NOTES --->" and "<!--- END AUTOGENERATED NOTES --->". Anything | ||
# outside these in the description is left untouched. Auto-generated updates can be skipped for a commit if | ||
# message headers of the pull request's commits. The auto generated section is enveloped between two comments: | ||
# "<!--- START AUTOGENERATED NOTES --->" and "<!--- END AUTOGENERATED NOTES --->". Anything outside these in the | ||
# description is left untouched. Auto-generated updates can be skipped for a commit if | ||
# "<!--- SKIP AUTOGENERATED NOTES --->" is added to the pull request description. | ||
|
||
name: update-pull-request | ||
|
||
# Only trigger for pull requests into main branch. | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
on: [pull_request] | ||
|
||
jobs: | ||
description: | ||
if: "!contains(github.event.pull_request.body, '<!--- SKIP AUTOGENERATED NOTES --->')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: octue/[email protected] | ||
id: pr-description | ||
with: | ||
pull_request_url: ${{ github.event.pull_request.url }} | ||
api_token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update pull request body | ||
uses: riskledger/update-pr-description@v2 | ||
with: | ||
body: ${{ steps.pr-description.outputs.pull_request_description }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
uses: octue/workflows/.github/workflows/generate-pull-request-description.yml@main | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: read | ||
pull-requests: write |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Read the Docs configuration file for Sphinx projects | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
|
||
# Required by the python script for building documentation | ||
Sphinx>=2,<3 | ||
sphinx-rtd-theme==0.5.0 | ||
sphinx-tabs==1.2.1 | ||
sphinx-charts==0.0.4 | ||
scipy~=1.5.2 | ||
jsonschema~=3.2.0 | ||
Sphinx | ||
sphinx-rtd-theme | ||
sphinx-tabs | ||
sphinx-charts | ||
jsonschema |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tox] | ||
envlist = {py38} | ||
envlist = {py38,py39} | ||
|
||
[testenv] | ||
setenv = | ||
|
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.