Skip to content

Commit

Permalink
feat: update to latest upstream versions
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed Jan 11, 2024
1 parent 8f77c65 commit 955a88e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
robotframework-version: [3.2, 4.1, 5.0]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
robotframework-version: [4.1, 5.0, 6.1]
platform: [ubuntu-latest, macOS-latest]
exclude:
- python-version: 3.6
platform: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
pip install flake8
pip install coverage
pip install robotframework==${{ matrix.robotframework-version }}
Expand All @@ -45,11 +43,11 @@ jobs:
run: |
coverage xml
- name: Send coverage report to codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
- name: Send coverage report to codeclimate
uses: paambaati/codeclimate-action@v2.6.0
uses: paambaati/codeclimate-action@v5
with:
coverageCommand: echo "Ignore rerun"
coverageLocations: ${{github.workspace}}/coverage.xml:coverage.py
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ pdb, you should run ::
If you want to run the test, please install the dependency packages first
and then execute the test ::

$ python -m pip install setuptools
$ python setup.py develop
$ python setup.py test

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def find_version(*file_paths):
url='https://github.com/xyb/robotframework-debuglibrary/',
keywords='robotframework,debug,shell,repl',
install_requires=[
'prompt-toolkit >= 2, < 4',
'robotframework >= 3.0',
'prompt-toolkit >= 3',
'robotframework >= 4',
],
tests_require=['pexpect', 'coverage'],
test_suite='tests.test_debuglibrary.suite',
Expand All @@ -59,11 +59,12 @@ def find_version(*file_paths):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Utilities',
],
)
2 changes: 1 addition & 1 deletion tests/test_debuglibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def base_functional_testing():
check_prompt('get\t', 'Get Count')
check_prompt('get\t', 'Get Time')
check_prompt('selenium http://google.com \t', 'firefox.*chrome')
check_prompt('selenium http://google.com fire\t', 'firefox')
#check_prompt('selenium http://google.com fire\t', 'firefox')

# keyword
check_command('log to console hello', 'hello')
Expand Down

0 comments on commit 955a88e

Please sign in to comment.