Skip to content

Commit

Permalink
Bump pip dependencies and add python 3.10,3.11 to CI (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerShor authored Dec 7, 2023
1 parent 55c20f6 commit d153f3c
Show file tree
Hide file tree
Showing 4 changed files with 394 additions and 200 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Install dependencies
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: [ 3.7, 3.8, 3.9 ]
python_version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- name: Dump github context
run: echo "$GITHUB_CONTEXT"
Expand All @@ -73,7 +73,7 @@ jobs:
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
Expand All @@ -94,7 +94,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: [ 3.7, 3.8, 3.9 ]
python_version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- name: Dump github context
run: echo "$GITHUB_CONTEXT"
Expand All @@ -107,21 +107,21 @@ jobs:
RUNNER_CONTEXT: ${{ toJson(runner) }}

- name: Clone Nuclio sdk py
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: nuclio-sdk-py

- name: Clone Nuclio
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: nuclio/nuclio
ref: development
path: nuclio
token: ${{ github.token }}

- uses: actions/setup-go@v2
- uses: actions/setup-go@v4
with:
go-version: "^1.14.0"
go-version: "^1.21.0"

- uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
PIPENV_PYTHON_VERSION ?= 3.7
PIPENV_PYTHON_VERSION ?= 3.8
NUCLIO_SDK_PY_VERSION ?= $(shell git describe --tags --abbrev=0)

.PHONY: all
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ nuclio-sdk = { editable = true, path = "." }
flake8 = "*"
twine = "*"
bleach = "==3.3.0"
black = "==20.8b1"
black = "==22.3.0"
importlib_metadata = "<3"
build = ">0.2"

Expand Down
Loading

0 comments on commit d153f3c

Please sign in to comment.