Skip to content

Commit

Permalink
test defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardSchwarzkopf committed Feb 24, 2024
1 parent c94b137 commit cd393fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ on:
description: "Python version"
type: string
required: false
default: "3.12"
poetry_version:
description: "Poetry version"
type: string
required: false
default: "1.7.1"

env:
TEST_DB_NAME: test_db
Expand All @@ -28,11 +30,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ github.event.inputs.python_version || '3.12' }}
python-version: ${{ inputs.python_version }}
- name: Run image
uses: abatilo/actions-poetry@v3.0.0
with:
poetry-version: ${{ github.event.inputs.poetry_version || '1.7.1' }}
poetry-version: ${{ inputs.poetry_version }}
- name: Install Dependencies
run: poetry install --only linter
- name: Run linter
Expand All @@ -59,11 +61,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: ${{ inputs.python_version || '3.12' }}
- name: Run image
uses: abatilo/actions-poetry@v3.0.0
with:
poetry-version: ${{ env.POETRY_VERSION }}
poetry-version: ${{ inputs.poetry_version || '1.7.1' }}
- name: Install Dependencies
run: poetry install
- name: Run Tests
Expand Down

0 comments on commit cd393fe

Please sign in to comment.