Skip to content

Commit

Permalink
Update devcontainer and github workflows for 3.10
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Aug 8, 2024
1 parent ab6a6b8 commit 1e4c130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Research Template",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-contrib/features/pdm:2": {},
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: '3.10'
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
Expand All @@ -41,7 +41,7 @@ jobs:
max-parallel: 4
matrix:
platform: [ubuntu-latest]
python-version: ['3.12']
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
python-version: ['3.12']
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
cluster: ['mila']
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: "3.10"
- run: pip install pdm
- name: Install dependencies
run: pdm install
Expand Down

0 comments on commit 1e4c130

Please sign in to comment.