Skip to content

Commit

Permalink
feat: remove peer relation and improve integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Dec 17, 2024
1 parent 9b650d9 commit fce5640
Show file tree
Hide file tree
Showing 13 changed files with 482 additions and 497 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
version: 0.5.8
- name: Run tests
run: just type
run: just typecheck

integration-test:
name: Integration tests (LXD)
Expand Down
8 changes: 2 additions & 6 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ parts:
subordinate: true

peers:
storage-peers:
interface: storage_peers

requires:
fs-share:
interface: fs_share
filesystem:
interface: filesystem_info
juju-info:
interface: juju-info
scope: container
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lint: lock
{{uv_run}} ruff format --check --diff {{all}}

# Run static type checks
type *args: lock
typecheck *args: lock
{{uv_run}} pyright {{args}}

# Run unit tests
Expand Down
Loading

0 comments on commit fce5640

Please sign in to comment.