Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 18, 2024
1 parent 4b2549a commit 5f27fa5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
open-pull-requests-limit: 20
30 changes: 21 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,20 @@ jobs:
continue-on-error: true
strategy:
matrix:
version: [22.04, 20.04, docker]
version: ['24.04', '22.04', '20.04', docker]
include:
- version: 22.04
- version: '24.04'
distro: noble
- version: '22.04'
distro: jammy
- version: 20.04
- version: '20.04'
distro: focal
- version: docker
distro: docker image

name: Build ${{ matrix.distro }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prepare debian versioning
if: ${{ matrix.version != 'docker' }}
run: |
Expand Down Expand Up @@ -104,16 +107,18 @@ jobs:
image: "convertit:latest"

e2e:
continue-on-error: true
strategy:
matrix:
distro: [ jammy, focal, docker ]
distro: [ noble, jammy, focal, docker ]
include:
- distro: noble
version: '24.04'

- distro: jammy
version: 22.04
version: '22.04'

- distro: focal
version: 20.04
version: '20.04'

- distro: docker
version: latest
Expand Down Expand Up @@ -195,13 +200,20 @@ jobs:
file -b -f ./myfile.pdf;
exit 1;
fi
deploy:
name: Publish (on release only)
runs-on: ubuntu-latest
needs: [ flake8, isort, e2e ]
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download 24.04 debian artifact
uses: actions/download-artifact@v3
with:
name: debian-noble

- name: Download 22.04 debian artifact
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 5f27fa5

Please sign in to comment.