Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Jun 10, 2024
1 parent 9805171 commit 293444c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions {{ cookiecutter.slug }}/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
run: dnf install -y libpq-devel krb5-devel
run: |
dnf install -y libpq-devel krb5-devel
pip install poetry>=1.2
- name: Run the licenses check
run: tox -e licenses
Expand All @@ -59,7 +61,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
run: dnf install -y libpq-devel krb5-devel
run: |
dnf install -y libpq-devel krb5-devel
pip install poetry>=1.2
- name: Build the docs
run: tox -e docs
Expand All @@ -79,7 +83,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
run: dnf install -y libpq-devel krb5-devel
run: |
dnf install -y libpq-devel krb5-devel
pip install poetry>=1.2
- name: Run the tests
run: tox -e ${{'{{'}} matrix.pyver {{'}}'}}-unit{% if cookiecutter.with_sqlalchemy %}-${{'{{'}} matrix.sqlaver {{'}}'}}{% endif %}
Expand Down Expand Up @@ -178,6 +184,8 @@ jobs:
name: Create a GitHub Release 📢
needs:
- publish-to-pypi
# The "build" dep is redundant but needed to access the changelog
- build
runs-on: ubuntu-latest
permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
Expand Down

0 comments on commit 293444c

Please sign in to comment.