Skip to content

Commit

Permalink
Use inputs for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luismedel committed Dec 13, 2024
1 parent bc63f63 commit 7ae3375
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .bluish/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@

var:
python_version: "3.12"

inputs:
- name: test
default: 1
- name: python_version
default: "3.11"

jobs:
_prepare_lint:
Expand All @@ -22,7 +19,7 @@ jobs:
ruff check src/ test/
echo ""
mypy --version
mypy --ignore-missing-imports --python-version=${{ python_version }} src/ test/
mypy --ignore-missing-imports --python-version=${{ workflow.inputs.python_version }} src/ test/
fix:
name: Reformat the code using ruff
Expand Down

0 comments on commit 7ae3375

Please sign in to comment.