chore(deps): refresh pip-compile outputs #406
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test on Pull Request | |
on: | |
pull_request: | |
jobs: | |
lint: | |
name: Lint Code | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt update && sudo apt install tox | |
- run: tox -e lint | |
branch_creation_tests: | |
name: Branch Creation Script Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt update && sudo apt install tox | |
- run: tox -e test_branch_creation | |
batch_release_charms_tests: | |
name: Batch Release Charms Script Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt update && sudo apt install tox | |
- run: tox -e test_batch_release_charms | |
test-dump-charm-debug-artifacts: | |
name: Test dump-charm-debug-artifacts | |
runs-on: ubuntu-22.04 | |
steps: | |
# Set things up like a charm would. Get juju and microk8s | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Setup operator environment | |
uses: charmed-kubernetes/actions-operator@main | |
with: | |
provider: microk8s | |
channel: 1.29-strict/stable | |
juju-channel: 3.6/stable | |
charmcraft-channel: 3.x/stable | |
microk8s-addons: "dns storage rbac metallb:10.64.140.43-10.64.140.49" | |
- name: Add model | |
run: | | |
juju add-model kubeflow | |
juju switch kubeflow | |
- name: Make some fake charmcraft logs | |
run: | | |
mkdir -p /home/runner/snap/charmcraft/common/cache/charmcraft/log/ | |
echo fakelog1 > /home/runner/snap/charmcraft/common/cache/charmcraft/log/charmcraft-fake1.log | |
echo fakelog2 > /home/runner/snap/charmcraft/common/cache/charmcraft/log/charmcraft-fake2.log | |
- uses: ./actions/dump-charm-debug-artifacts/ | |
if: always() |