Skip to content

Commit

Permalink
feat(ptyhon 12): support newest LTS version of python and build again…
Browse files Browse the repository at this point in the history
…st it
  • Loading branch information
AntoineDao committed May 12, 2024
1 parent e5d8c31 commit e75269d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
ARG VARIANT="3.9"
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}

# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"context": "..",
"args": {
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
"VARIANT": "3.7",
"VARIANT": "3.12",
// Options
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
- name: install python dependencies
run: |
bash scripts/install-poetry.sh
Expand All @@ -38,7 +39,7 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: set up node # we need node for for semantic release
uses: actions/setup-node@v2.1.2
with:
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: install dependencies
run: |
bash scripts/install-poetry.sh
Expand Down

0 comments on commit e75269d

Please sign in to comment.