Skip to content

Commit

Permalink
Merge pull request #100 from DiamondLightSource/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
abigailalexander authored Jan 9, 2024
2 parents 906b7a6 + 5d20f2c commit 710027d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
requirements_file: requirements-dev-3.x.txt
install_options: -e .[dev]
python_version: "3.11" # Pinned to 3.11 https://github.com/DiamondLightSource/coniql/issues/101

- name: Lint
run: tox -e pre-commit,mypy
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
requirements_file: requirements-dev-3.x.txt
install_options: -e .[dev]
python_version: "3.11" # Pinned to 3.11 https://github.com/DiamondLightSource/coniql/issues/101

- name: Build docs
run: tox -e docs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
requirements_file: requirements-dev-3.x.txt
install_options: -e .[dev]
python_version: "3.11" # Pinned to 3.11 https://github.com/DiamondLightSource/coniql/issues/101

- name: Check links
run: tox -e docs build -- -b linkcheck
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ addopts = """
--cov=coniql --cov-report term --cov-report xml:cov.xml
"""
# https://iscinumpy.gitlab.io/post/bound-version-constraints/#watch-for-warnings
filterwarnings = "error"
# Commented out because of https://github.com/DiamondLightSource/coniql/issues/101
# filterwarnings = "error"
# Doctest python code in docs, python code in src docstrings, test functions in tests
testpaths = "docs src tests"
asyncio_mode = "auto"
Expand Down

0 comments on commit 710027d

Please sign in to comment.