Skip to content

Commit

Permalink
Correct CI not passing (#9)
Browse files Browse the repository at this point in the history
* Corrected type test in test_commands.py

* Tests: removed ubuntu 18.04 added Ubuntu 22 and python 3.11+3.12
  • Loading branch information
MaxandreOgeret committed Jan 24, 2024
1 parent def59c9 commit d1331e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
strategy:
matrix:
cfg:
- {os: ubuntu-18.04, python-version: "3.6"}
- {os: ubuntu-20.04, python-version: "3.7"}
- {os: ubuntu-20.04, python-version: "3.8"}
- {os: ubuntu-20.04, python-version: "3.9"}
- {os: ubuntu-20.04, python-version: "3.10"}
- {os: ubuntu-22.04, python-version: "3.11"}
- {os: ubuntu-22.04, python-version: "3.12"}

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ are:

## Python support

This package supports python >= 3.5.
This package supports Python >= 3.5, and is tested on Python (3.7 -> 3.12).

## How does it work?

Expand Down
2 changes: 1 addition & 1 deletion test/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def run_command(command, args=None, subfolder=None):


def adapt_command_output(output, cwd=None):
assert type(output) == bytes
assert type(output) is bytes
# replace message from older git versions
output = output.replace(
b'git checkout -b new_branch_name',
Expand Down

0 comments on commit d1331e7

Please sign in to comment.