Skip to content

Commit

Permalink
Fix continuous integration (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
greschd committed Apr 25, 2022
1 parent c3ef264 commit dfdacce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.9"
- name: Install python dependencies
env:
INSTALL_TYPE: docs
Expand Down Expand Up @@ -45,7 +45,9 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
# Using the oldest supported Python version here, to ensure
# compatible type stubs will be installed.
python-version: "3.7"
- name: Install python dependencies
env:
INSTALL_TYPE: dev_precommit
Expand All @@ -58,10 +60,10 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: ["3.7", "3.8", "3.9"]
install-type: [testing]
include:
- python-version: 3.8
- python-version: "3.9"
install-type: testing_sdist
services:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:

- repo: git://github.com/pre-commit/mirrors-yapf
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
Expand Down
4 changes: 3 additions & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Physics",
"Framework :: AiiDA"
],
Expand All @@ -39,7 +40,8 @@
"docs": [
"sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-details-directive"
"sphinxcontrib-details-directive",
"markupsafe==2.0.1"
],
"testing": [
"pytest~=6.0",
Expand Down

0 comments on commit dfdacce

Please sign in to comment.