Skip to content

Commit

Permalink
feat(ci): update integration test job to support python-3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jat-canonical committed Oct 10, 2023
1 parent 6249496 commit bea5491
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3 # v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install tox
- name: Set channel
run: |
juju_channel=$(echo "${{ matrix.agent-versions }}" | cut -c 1-3)
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ log_cli_level = "INFO"
# Formatting tools configuration
[tool.black]
line-length = 99
target-version = ["py38"]

# Linting tools configuration
[tool.ruff]
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ envlist = fmt, lint, unit
[vars]
src_path = {toxinidir}/src/
tst_path = {toxinidir}/tests/
lib_path = {toxinidir}/lib/charms/nrpe/
all_path = {[vars]src_path} {[vars]tst_path}

[testenv]
Expand All @@ -24,7 +23,7 @@ passenv =
[testenv:fmt]
description = Apply coding style standards to code
deps =
# renovate: datasource=pypj
# renovate: datasource=pypi
black==23.7.0
# renovate: datasource=pypi
ruff==0.0.287
Expand Down

0 comments on commit bea5491

Please sign in to comment.