Skip to content

Commit

Permalink
Merge pull request #3 from act3-ace/2-dynamic-changing-parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
keatincf authored Mar 26, 2024
2 parents 69b4958 + 1e5b7a0 commit 646226b
Show file tree
Hide file tree
Showing 14 changed files with 554 additions and 197 deletions.
41 changes: 28 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,43 @@ on:
env:
SRC_DIR: run_time_assurance
PY_VER: "3.10"
POETRY_VERSION: "1.7.1"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PY_VER }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- name: Install Dependencies
run: poetry install --no-interaction
- name: Markdown Lint
continue-on-error: true
uses: articulate/actions-markdownlint@v1
- name: Python Lint
uses: ricardochaves/[email protected]
- name: ISort
continue-on-error: true
with:
python-root-list: ${{ env.SRC_DIR }}
use-pylint: true
use-flake8: true
use-mypy: true
use-isort: true
- name: Yapf Formatting
run: isort --check --diff ${{ env.SRC_DIR }}
- name: Yapf
continue-on-error: true
run: yapf --diff --recursive --parallel ${{ env.SRC_DIR }}
- name: Mypy
continue-on-error: true
run: mypy ${{ env.SRC_DIR }}
- name: Flake8
continue-on-error: true
run: flake8 ${{ env.SRC_DIR }}
- name: Pylint
continue-on-error: true
uses: AlexanderMelde/[email protected]
run: pylint ${{ env.SRC_DIR }}

test:
runs-on: ubuntu-latest
Expand All @@ -44,7 +59,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- name: Install Dependencies
run: poetry install --no-interaction --no-root --with=test
Expand Down Expand Up @@ -73,7 +88,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
Expand Down Expand Up @@ -106,7 +121,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
Expand Down
Loading

0 comments on commit 646226b

Please sign in to comment.