-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into parallel-prefactor
- Loading branch information
Showing
1,764 changed files
with
824 additions
and
53,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Test the python installation | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.10", "3.11"] | ||
include: | ||
- os: ubuntu-latest | ||
CONDA_OS: linux-64 | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
NETRC_FILE: ${{ secrets.NETRC_FILE }} | ||
NNPDF_SSH_KEY: ${{ secrets.NNPDF_SSH_KEY }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Setup conda and install LHAPDF and pandoc | ||
shell: bash -l {0} | ||
run: | | ||
echo "$NETRC_FILE" | base64 --decode > ~/.netrc | ||
conda install -n base conda-libmamba-solver | ||
conda config --set solver libmamba | ||
conda config --append channels conda-forge | ||
conda config --prepend channels https://packages.nnpdf.science/public | ||
conda config --set show_channel_urls true | ||
conda install lhapdf pandoc | ||
conda activate test | ||
- name: Install nnpdf with testing and qed extras | ||
shell: bash -l {0} | ||
run: | | ||
conda activate test | ||
pip install .[qed,tests] | ||
- name: Test n3fit and validphys | ||
shell: bash -l {0} | ||
run: | | ||
conda activate test | ||
pytest --pyargs --mpl validphys n3fit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.