Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix poetry in CI #531

Merged
merged 4 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
cache: 'poetry'

- name: Install packages
run: poetry install --no-interaction
run: poetry install --no-interaction --no-root

- name: Run scenario
run: poetry run molecule test --scenario-name "${{ inputs.scenario }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cache: 'poetry'

- name: Install packages
run: poetry install --no-interaction
run: poetry install --no-interaction --no-root

- name: Lint
run: make lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: 'poetry'

- name: Install packages
run: poetry install --no-interaction
run: poetry install --no-interaction --no-root

- name: Publish to Ansible Galaxy
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ repos:
- '--profile=production'

- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
rev: v1.7.6
hooks:
- id: actionlint-docker
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ all: lint test
# Install Python first
.PHONY: install
install:
poetry install --no-root
poetry install --with=dev
poetry run pre-commit install --install-hooks
poetry run ansible-galaxy collection install -r requirements.yml

Expand All @@ -16,7 +16,7 @@ clean:

.PHONY: update
update:
poetry update
poetry update --with=dev
poetry run pre-commit autoupdate

.PHONY: lint
Expand Down
Loading
Loading