Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima authored Feb 7, 2025
1 parent d167302 commit 20c107f
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@ jobs:
- name: Run tests
run: tox run -e unit

lib-check:
name: Check libraries
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
# Workaround for https://github.com/canonical/charmcraft/issues/1389#issuecomment-1880921728
touch requirements.txt
- name: Check libs
uses: canonical/charming-actions/[email protected]
with:
charmcraft-channel: latest/beta/data-platform # TODO: remove after charmcraft 3.3 stable release
credentials: ${{ secrets.CHARMHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
use-labels: false
fail-build: ${{ github.event_name == 'pull_request' }}
# lib-check:
# name: Check libraries
# runs-on: ubuntu-22.04
# timeout-minutes: 5
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - run: |
# # Workaround for https://github.com/canonical/charmcraft/issues/1389#issuecomment-1880921728
# touch requirements.txt
# - name: Check libs
# uses: canonical/charming-actions/[email protected]
# with:
# charmcraft-channel: latest/beta/data-platform # TODO: remove after charmcraft 3.3 stable release
# credentials: ${{ secrets.CHARMHUB_TOKEN }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
# use-labels: false
# fail-build: ${{ github.event_name == 'pull_request' }}

build:
name: Build charms
Expand All @@ -84,4 +84,4 @@ jobs:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
cloud: lxd
permissions:
contents: write
contents: write

0 comments on commit 20c107f

Please sign in to comment.