-
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.
Merge pull request #37 from Onemind-Services-LLC/dev
Release v0.3.0
- Loading branch information
Showing
30 changed files
with
166 additions
and
436 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
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,48 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
workflow_dispatch: { } | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+(-[a-zA-Z]+[0-9]+)? | ||
pull_request: | ||
|
||
# This ensures that previous jobs for the workflow are canceled when the ref is | ||
# updated. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
lint: | ||
pre_commit: | ||
name: Run lint rules | ||
runs-on: ubuntu-latest | ||
name: Checks syntax | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
with: | ||
# Full git history is needed to get a proper list of changed files within `super-linter` | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4.7.0 | ||
with: | ||
python-version: 3.9 | ||
- name: Lint Code Base | ||
uses: github/super-linter/slim@v4 | ||
env: | ||
DEFAULT_BRANCH: dev | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SUPPRESS_POSSUM: true | ||
LINTER_RULES_PATH: / | ||
VALIDATE_ALL_CODEBASE: false | ||
VALIDATE_DOCKERFILE: false | ||
VALIDATE_JSCPD: true | ||
FILTER_REGEX_EXCLUDE: (.*/)?(configuration/.*) | ||
PYTHON_BLACK_CONFIG_FILE: pyproject.toml | ||
PYTHON_FLAKE8_CONFIG_FILE: pyproject.toml | ||
PYTHON_ISORT_CONFIG_FILE: pyproject.toml | ||
python-version: '3.10' | ||
|
||
- uses: pre-commit/action@v3.0.0 | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
name: Runs plugin tests | ||
|
||
steps: | ||
- id: git-checkout | ||
name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
- id: docker-test | ||
name: Test the image | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Test the image | ||
run: ./test.sh |
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
Oops, something went wrong.