Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelThamm committed Dec 19, 2024
1 parent 6a15400 commit 57e2616
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_charm-linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python3 -m pip install tox
sudo snap install --classic astral-uv
- name: Run tests
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: lint
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_charm-quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,22 @@ jobs:
charmcraft-channel: "${{ inputs.charmcraft-channel }}"
static-analysis:
name: Static Analysis
uses: canonical/observability/.github/workflows/_charm-static-analysis.yaml@main
uses: canonical/observability/.github/workflows/_charm-static-analysis.yaml@feature/conditional-ci
with:
charm-path: "${{ inputs.charm-path }}"
linting:
name: Linting
uses: canonical/observability/.github/workflows/_charm-linting.yaml@main
uses: canonical/observability/.github/workflows/_charm-linting.yaml@feature/conditional-ci
with:
charm-path: "${{ inputs.charm-path }}"
unit-test:
name: Unit Tests
uses: canonical/observability/.github/workflows/_charm-tests-unit.yaml@main
uses: canonical/observability/.github/workflows/_charm-tests-unit.yaml@feature/conditional-ci
with:
charm-path: "${{ inputs.charm-path }}"
scenario-test:
name: Scenario Tests
uses: canonical/observability/.github/workflows/_charm-tests-scenario.yaml@main
uses: canonical/observability/.github/workflows/_charm-tests-scenario.yaml@feature/conditional-ci
with:
charm-path: "${{ inputs.charm-path }}"
integration-test:
Expand All @@ -89,7 +89,7 @@ jobs:
- linting
- unit-test
- scenario-test
uses: canonical/observability/.github/workflows/_charm-tests-integration.yaml@main
uses: canonical/observability/.github/workflows/_charm-tests-integration.yaml@feature/conditional-ci
with:
charm-path: "${{ inputs.charm-path }}"
provider: "${{ inputs.provider }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_charm-static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python3 -m pip install tox
sudo snap install --classic astral-uv
- name: Run static analysis for /lib for 3.8
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: static
Expand All @@ -47,7 +47,7 @@ jobs:
python3 -m pip install tox
sudo snap install --classic astral-uv
- name: Run static analysis (charm)
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: static
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
sudo snap install --classic astral-uv
- name: Run tests
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: integration
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python -m pip install tox
sudo snap install --classic astral-uv
- name: Run tests
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: scenario
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python -m pip install tox
sudo snap install --classic astral-uv
- name: Run tests
uses: canonical/observability/.github/actions/charm-run-task@main
uses: canonical/observability/.github/actions/charm-run-task@feature/conditional-ci
with:
charm-path: ${{ inputs.charm-path }}
test-type: unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/charm-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
needs:
- ci-ignore
if: needs.ci-ignore.outputs.any_modified == 'true'
uses: canonical/observability/.github/workflows/_charm-quality-checks.yaml@main
uses: canonical/observability/.github/workflows/_charm-quality-checks.yaml@feature/conditional-ci
secrets: inherit
with:
charm-path: ${{ inputs.charm-path }}
Expand Down

0 comments on commit 57e2616

Please sign in to comment.