Skip to content

Commit

Permalink
chore: update github tests and fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Matsuoka <[email protected]>
  • Loading branch information
cmatsuoka committed May 27, 2024
1 parent 9562871 commit d20f2b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ jobs:
tests:
strategy:
matrix:
os: [ubuntu-20.04]
os: [ubuntu-22.04]
python-version: ["3.10", "3.12"]
include:
- adjective: focal
- os: ubuntu-22.04
python-version: ["3.10", "3.12"]
adjective: jammy
- adjective: jammy
- os: ubuntu-20.04
python-version: "3.10"
adjective: focal

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion craft_parts/overlays/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def load(cls, part: Part) -> Optional["LayerHash"]:
:param part: The part whose layer hash will be loaded.
:return: A layer hash object containing the loaded validaton hash,
:return: A layer hash object containing the loaded validation hash,
or None if the file doesn't exist.
"""
hash_file = part.part_state_dir / "layer_hash"
Expand Down
2 changes: 1 addition & 1 deletion craft_parts/packages/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def install_packages(

# XXX Facundo 2023-02-07: the information returned by this method is not used
# anywhere, so we should clean it up and just return None (here, and in the
# Ubuntu reposity too, where a further cleaning should be done) -- related
# Ubuntu repository too, where a further cleaning should be done) -- related
# to this, `list_only` should go away.
return []

Expand Down

0 comments on commit d20f2b6

Please sign in to comment.