Skip to content

Commit

Permalink
Run steps manually on python container
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-Grigg committed Feb 16, 2024
1 parent 5ec918b commit c87a405
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,38 @@ jobs:
run: |
apt update
export DEBIAN_FRONTEND=noninteractive
apt install -yq krb5-user lsb_release
apt install -yq krb5-user
- uses: ansys/actions/[email protected]
with:
skip-install: false
python-version: "3.10"
- name: "Create virtual environment"
shell: bash
run: |
python -m pip install --upgrade pip poetry
python -m venv .venv
- name: "Install project (if required)"
if: inputs.skip-install == 'false'
shell: bash
run: |
source .venv/bin/activate
python -m poetry install
- name: "Install pre-commit"
shell: bash
run: |
source .venv/bin/activate
python -m pip install pre-commit
pre-commit install
- name: "Run pre-commit"
shell: bash
run: |
source .venv/bin/activate
pre-commit run --all-files --show-diff-on-failure
# - uses: ansys/actions/[email protected]
# with:
# skip-install: false
# python-version: "3.10"

docs-style:
name: Documentation Style Check
Expand Down

0 comments on commit c87a405

Please sign in to comment.