Skip to content

Commit

Permalink
test install
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 2, 2024
1 parent 0bc8f97 commit e1088b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: oldest supported versions
os: ubuntu-latest
python-version: '3.8'
python-version: '3.9'
toxenv: py38-test-oldest

- name: macOS latest
Expand All @@ -32,8 +32,8 @@ jobs:

- name: Windows latest
os: windows-latest
python-version: '3.11'
toxenv: py311-test-latest
python-version: '3.12'
toxenv: py312-test-latest
env:
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1
Expand All @@ -53,10 +53,6 @@ jobs:
shell: bash -el {0}
run: |
pip install tox
- name: temp test mflike installation
shell: bash -el {0}
run: |
pip install git+https://github.com/simonsobs/LAT_MFLike.git@restructure#egg=mflike
- name: Run Tests
shell: bash -el {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
]
description = "Likelihood and Theory codes for the Simons Observatory."
readme = "README.rst"
requires-python = ">=3.8, <3.12"
requires-python = ">=3.9"
license = {text = "MIT"}
dependencies = [
"requests",
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ pyccl >= 3.0; platform_system!='Windows'
sacc
fgspectra>=1.1.0
syslibrary
pyhalomodel
pyhalomodel
git+https://github.com/simonsobs/LAT_MFLike.git@restructure#egg=mflike
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires =
setuptools_scm >= 8
pip >= 19.3.1
envlist =
py{38,39,310,311}-test{,-all}{,-latest,-oldest}{,-cov}
py{39,310,311.312}-test{,-all}{,-latest,-oldest}{,-cov}
codestyle

[testenv]
Expand Down Expand Up @@ -44,6 +44,7 @@ extras =
commands =
conda info
pip freeze
cobaya-install mflike --no-set-global
all: cobaya-install planck_2018_highl_plik.TTTEEE_lite_native --no-set-global
!cov: pytest -vv --rootdir={toxinidir} --pyargs {toxinidir}/soliket/ {posargs}
cov: pytest -vv --rootdir={toxinidir} --pyargs {toxinidir}/soliket/ --cov soliket --cov-report=xml --cov-config={toxinidir}/pyproject.toml {posargs}
Expand Down

0 comments on commit e1088b9

Please sign in to comment.