Skip to content

Commit

Permalink
Update Python and Action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Feb 6, 2024
1 parent d76d9f1 commit 7a699d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Set up Python 3.12
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.11

- name: Install python dependencies
run: poetry install --with docs
Expand All @@ -81,10 +81,10 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Set up Python 3.12
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: 3.11

- name: Install python dependencies
run: poetry install --with pre-commit,docs,dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
poetry run make html
- name: upload
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs/build/html/.'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ known_aiida = ['aiida']
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38
envlist = py39
[testenv]
usedevelop=True
[testenv:py{38,39,310}]
[testenv:py{39,310,311,312}]
description = Run the test suite against a python version
extras = testing
commands = pytest {posargs}
Expand Down

0 comments on commit 7a699d4

Please sign in to comment.