Skip to content

Commit

Permalink
Merge branch 'master' into implement-example-process
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault authored Oct 16, 2023
2 parents c5d670d + 7392618 commit 72242aa
Show file tree
Hide file tree
Showing 84 changed files with 4,737 additions and 707 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Greetings

on: [pull_request, issues]

# cancel the current workflow if another commit was pushed on the same PR or reference
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
greeting:
runs-on: ubuntu-latest
Expand Down
42 changes: 27 additions & 15 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# reference: https://github.com/github/issue-labeler

# FIXME: find a way to avoid the label to remove tags...
#name: "Issue Labeler"
#on:
# issues:
# types: [opened, edited]
#
#jobs:
# triage:
# runs-on: ubuntu-latest
# steps:
# - uses: github/[email protected]
# with:
# repo-token: "${{ secrets.GITHUB_TOKEN }}"
# configuration-path: .github/labeler-words.yml
# enable-versioned-regex: 0
name: "Issue Labeler"
on:
issues:
types: [opened, edited]

# cancel the current workflow if another commit was pushed on the same PR or reference
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
issues: write
contents: read

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler-words.yml
enable-versioned-regex: 0
include-title: 1
include-body: 1
sync-labels: 0
6 changes: 6 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
schedule:
- cron: '0 */12 * * *'

# cancel the current workflow if another commit was pushed on the same PR or reference
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
original-labeler:
# reference: https://github.com/actions/labeler
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
- pull_request
- push

# cancel the current workflow if another commit was pushed on the same PR or reference
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
#trufflehog:
# runs-on: ubuntu-latest
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- release
- workflow_dispatch

# cancel the current workflow if another commit was pushed on the same PR or reference
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
# see: https://github.com/fkirc/skip-duplicate-actions
skip_duplicate:
Expand All @@ -33,6 +39,7 @@ jobs:
env:
# override make command to install directly in active python
CONDA_CMD: ""
DOCKER_TEST_EXEC_ARGS: "-T"
services:
# Label used to access the service container
mongodb:
Expand All @@ -46,15 +53,6 @@ jobs:
allow-failure: [false]
test-case: [test-unit-only, test-func-only]
include:
# end-of-life python
- os: ubuntu-20.04
python-version: "3.6"
allow-failure: true
test-case: test-unit-only
- os: ubuntu-20.04
python-version: "3.6"
allow-failure: true
test-case: test-func-only
# experimental python
- os: ubuntu-latest
python-version: "3.11"
Expand Down
6 changes: 5 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ limit-inference-results=100
# usually to register additional checkers.
# https://pylint.pycqa.org/en/latest/technical_reference/extensions.html
load-plugins=pylint.extensions.docparams,
pylint.extensions.mccabe
pylint.extensions.mccabe,
pylint_per_file_ignores

# https://pylint.pycqa.org/en/latest/technical_reference/extensions.html#design-checker-options
max-complexity = 24
Expand Down Expand Up @@ -125,6 +126,9 @@ disable=C0111,missing-docstring,

# note: (C0412, ungrouped-imports) is managed via isort tool, ignore false positives

per-file-ignores =
tests/*:R1729

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
Expand Down
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# configuration to setup readthedocs
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
sphinx:
configuration: docs/source/conf.py
#formats: all
formats:
- htmlzip
python:
version: "3.7"
install:
- requirements: requirements-sys.txt
- requirements: requirements-doc.txt
system_packages: false
Loading

0 comments on commit 72242aa

Please sign in to comment.