Skip to content

Commit

Permalink
Install poetry and poetry-plugin-export in github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Jan 6, 2025
1 parent e54688e commit 12f36bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
- uses: actions/checkout@v4

- name: Install pre-commit
run: dnf install -y pre-commit git
run: |
dnf install -y pre-commit git krb5-devel libpq-devel poetry python3-poetry-plugin-export
- name: Mark the working directory as safe for Git
run: git config --global --add safe.directory $PWD
Expand All @@ -36,7 +37,7 @@ jobs:

- name: Install RPM dependencies
run: |
dnf install -y krb5-devel libpq-devel
dnf install -y pre-commit git krb5-devel libpq-devel poetry python3-poetry-plugin-export
- name: Check licenses for datanommer.${{ matrix.package }}
run: tox -e licenses
Expand All @@ -59,7 +60,7 @@ jobs:

- name: Install RPM dependencies
run: |
dnf install -y timescaledb postgresql-server krb5-devel libpq-devel
dnf install -y timescaledb postgresql-server pre-commit git krb5-devel libpq-devel poetry python3-poetry-plugin-export
- name: Run unit tests for datanommer.${{ matrix.package }}
# Don't run the tests as root or pg_ctl will refuse to start
Expand Down
7 changes: 2 additions & 5 deletions datanommer.commands/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ isolated_build = true
passenv = HOME
sitepackages = false
skip_install = true
# Use allowlist for poetry when poetry 1.2+ is more widespread
# allowlist_externals =
# poetry
deps =
poetry>=1.2
allowlist_externals =
poetry
env =
SQLALCHEMY_WARN_20=1
commands_pre =
Expand Down
7 changes: 2 additions & 5 deletions datanommer.consumer/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ isolated_build = true
passenv = HOME
sitepackages = false
skip_install = true
# Use allowlist for poetry when poetry 1.2+ is more widespread
# allowlist_externals =
# poetry
deps =
poetry>=1.2
allowlist_externals =
poetry
env =
SQLALCHEMY_WARN_20=1
commands_pre =
Expand Down
7 changes: 2 additions & 5 deletions datanommer.models/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ isolated_build = true
passenv = HOME
sitepackages = false
skip_install = true
# Use allowlist for poetry when poetry 1.2+ is more widespread
# allowlist_externals =
# poetry
deps =
poetry>=1.2
allowlist_externals =
poetry
env =
SQLALCHEMY_WARN_20=1
commands_pre =
Expand Down

0 comments on commit 12f36bc

Please sign in to comment.