Skip to content

Commit 060ced3

Browse files
authored
add latest Nomad and Python to tests (#165)
* add latest Nomad and Python to tests * upgrade pylint
1 parent 17df294 commit 060ced3

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python 3
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.11'
20+
python-version: '3.12'
2121

2222
- name: Install Dependencies
2323
shell: bash
@@ -29,4 +29,4 @@ jobs:
2929
shell: bash
3030
run: |
3131
pylint nomad/
32-
black --check -l 120 -t py311 nomad/
32+
black --check -l 120 -t py312 nomad/

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ['3.7', '3.11'] # the oldest and newest support versions
26-
nomad-version: ['1.0.18', '1.1.18', '1.2.15', '1.3.14', '1.4.9', '1.5.5']
25+
python-version: ['3.7', '3.12'] # the oldest and newest support versions
26+
nomad-version: ['1.2.16', '1.3.16', '1.4.14', '1.5.17', '1.6.10', '1.7.7']
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Setup Nomad ${{ matrix.nomad-version }}
@@ -60,4 +60,4 @@ jobs:
6060
run: |
6161
./run_tests.sh
6262
- name: Upload coverage to Codecov
63-
uses: codecov/codecov-action@v3
63+
uses: codecov/codecov-action@v4

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- name: Set up Python 3.11
14-
uses: actions/setup-python@v4
12+
- uses: actions/checkout@v4
13+
- name: Set up Python 3.12
14+
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.11
16+
python-version: 3.12
1717
- name: Install Dependencies
1818
shell: bash
1919
run: pip install build

requirements-lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pylint==2.15.10
1+
pylint==3.1.0
22
black==24.4.0

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'Programming Language :: Python :: 3.9',
2626
'Programming Language :: Python :: 3.10',
2727
'Programming Language :: Python :: 3.11',
28+
'Programming Language :: Python :: 3.12',
2829
],
2930
keywords='nomad hashicorp client',
3031
)

0 commit comments

Comments
 (0)