Skip to content

chore(deps): bump tornado from 6.4 to 6.4.1 in /docs #1511

chore(deps): bump tornado from 6.4 to 6.4.1 in /docs

chore(deps): bump tornado from 6.4 to 6.4.1 in /docs #1511

Workflow file for this run

name: Data Charm Tests
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
db-charm-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- charm-repo: canonical/postgresql-operator
commit: 85f92e9a7121a1f506a550662c066343612a29e6 # 2024-05-31T11:54:37Z
- charm-repo: canonical/postgresql-k8s-operator
commit: 7e8862e2f02cfe1f8e768d6ad54a281833afdfda # rev268 2024-05-31T11:54:09Z
- charm-repo: canonical/mysql-operator
commit: 19633f3e904d1c3296477b3df191d1ca265fc0d5 # rev234 2024-05-06T12:13:54Z
- charm-repo: canonical/mysql-k8s-operator
commit: d310ba925b667345dc2d1b9b5c953881dd14322a # 2024-05-29T12:07:56Z
steps:
- name: Checkout the ${{ matrix.charm-repo }} repository
uses: actions/checkout@v4
with:
repository: ${{ matrix.charm-repo }}
ref: ${{ matrix.commit }}
- name: Checkout the operator repository
uses: actions/checkout@v4
with:
path: myops
- name: Install patch dependencies
run: pip install poetry~=1.6
- name: Update 'ops' dependency in test charm to latest
run: |
if [ -e "requirements.txt" ]; then
sed -i -e "/^ops[ ><=]/d" -e "/canonical\/operator/d" -e "/#egg=ops/d" requirements.txt
echo -e "\ngit+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_SHA#egg=ops" >> requirements.txt
else
sed -i -e "s/^ops[ ><=].*/ops = {path = \"myops\"}/" pyproject.toml
poetry lock
fi
- name: Install dependencies
run: pip install tox~=4.2
- name: Run the charm's unit tests
run: tox -vve unit