Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests only on PR open, review requests #159

Merged
merged 6 commits into from
Nov 15, 2023
Merged

Conversation

itrharrison
Copy link
Collaborator

In order to save our time and github action runner minutes, only run the tests when PRs are opened and reviews are requested, rather than (twice!) every time pushes are made during development.

We should also be clear that people developing the code should make sure tests run locally before requesting a review.

@itrharrison itrharrison added the repo Related to repo functionality label Nov 13, 2023
@itrharrison itrharrison added this to the November Hack milestone Nov 13, 2023
@itrharrison itrharrison self-assigned this Nov 13, 2023
@itrharrison itrharrison marked this pull request as ready for review November 13, 2023 15:36
@itrharrison itrharrison marked this pull request as draft November 13, 2023 15:58
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Merging #159 (d94f949) into master (2d0211f) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #159   +/-   ##
=======================================
  Coverage   74.47%   74.47%           
=======================================
  Files          33       33           
  Lines        2018     2018           
=======================================
  Hits         1503     1503           
  Misses        515      515           
Files Coverage Δ
soliket/bandpass.py 91.26% <ø> (ø)

@itrharrison itrharrison marked this pull request as ready for review November 15, 2023 16:02
@itrharrison
Copy link
Collaborator Author

This ended up much simpler 😅

@itrharrison itrharrison merged commit e9e7abd into master Nov 15, 2023
5 checks passed
@itrharrison itrharrison deleted the fewer-test-runs branch November 15, 2023 16:27
itrharrison added a commit that referenced this pull request Jun 7, 2024
* pyccl optional (#153)

* pyccl optional

* oops

* Add simple halo model (#150)

* remove depracated likelihood.theory calls

* codestyle

* sphinx compatability update

* sphinx compatability update 2204

* add build tools

* move rtd python ver

* rtd try different pyver

* rtd try different order

* conda on rtd

* update rtd mock import

* add rtd theme

* add rtd theme correctly

* add rtd theme in setup.cfg

* Testing yaml instead of yml.

* added docs conda env

* add full requirements in docs

* pin tensorflow dep

* started basic halo model

* started basic pyhm implementation and tests

* pkmm computation with z loop

* remove empty functions

* test against precomputed value

* codestyle and fix test

* add missing default files

* added docs

* line length

* remove refernce to bias model in docs

* improve docs

---------

Co-authored-by: Hidde Jense <JenseH@cardiff.ac.uk>

* Deprecations update (#155)

* pyccl optional

* oops

* remove pkg_resources

* str path

* pudate latest

* fix

* py311

* py311

* py311

* typo

* Update docs/soliket-docs.yml

* Update soliket-tests.yml

---------

Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Pycharm tidies (#161)

* pyccl optional

* oops

* remove pkg_resources

* str path

* added new warnings, fails

* pudate latest

* changes for new reqs

* fix

* py311

* py311

* py311

* update halomodel codestyle

* Mist tidy

* typo

* brackets

---------

Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Run tests only on PR open, review requests (#159)

* run tests only on PR open, review requests

* added some extra instructions in docs

* reorder on setting

* line break

* reset what is written in docs

* Add more flake8 requirements (#157)

* added new warnings, fails

* changes for new reqs

* update halomodel codestyle

* whitespace warnings

* added zstar to crosscorrelation (#165)

* Implementation of the lensing power spectrum computation with CCL (#166)

* Implementing the lensing power spectrum computation with CCL. Added a flag to choose whether to use CAMB or CCL to compute this power spectrum.

* Adding test to check CCL and CAMB agree to predict the CMB lensing power spectrum

---------

Co-authored-by: Raphaël Kou <raphael.kou@apc.in2p3.fr>

* solving bug in mflike (#170)

* Fix readme (#173)

* stricter indentation

* Update README.rst

* Dev check ell range mflike (#171)

* change to lmax requirements

* removing comments in modified files

* solving style issues

* solving issues in test mflike

* solving codestyle issues

* switched from hard-coded to l_bpws-depndt multipole

* fixed codestyle

---------

Co-authored-by: Martina Gerbino <bradamante@martina.local>
Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Resolving packages path with cobaya tools (#169)

* Fix extra letter in calibration params

* Use cobaya tools to resolve packages path

* flake

* Revert "flake"

This reverts commit 526acde.

* Update yaml files with correct paramnames and paths

For the `test_multi.py`, I switched from `MFLike` to `TestMFLike`, coherently with `test_mflike.py`

* Update paths in test_multi

* Enable multi and mflike in test_runs

* bug fix

* Avoid overwrite global packages_path

* flake

* Change pathfinding to data with packages path

* Revert to request forcing rootdir

* Point to `tox.ini` directory

---------

Co-authored-by: mgerbino <marti.gerbino@gmail.com>
Co-authored-by: Ian Harrison <itrharrison@gmail.com>

---------

Co-authored-by: Antony Lewis <cmbant@users.noreply.github.com>
Co-authored-by: Hidde Jense <JenseH@cardiff.ac.uk>
Co-authored-by: raphkou <61792335+raphkou@users.noreply.github.com>
Co-authored-by: Raphaël Kou <raphael.kou@apc.in2p3.fr>
Co-authored-by: Serena Giardiello <67148348+sgiardie@users.noreply.github.com>
Co-authored-by: mgerbino <marti.gerbino@gmail.com>
Co-authored-by: Martina Gerbino <bradamante@martina.local>
Co-authored-by: Giacomo Galloni <giacomo.galloni@unife.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo Related to repo functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants