Skip to content

Commit 1003949

Browse files
committed
install only qed and tests for regression testing
1 parent 112bbb3 commit 1003949

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

.github/workflows/all_tests_nnpdf.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v4
5252
- uses: ./.github/actions/install_conda_pip
53+
with:
54+
nnpdf-extras: "[qed,tests]"
5355
- name: Run regression tests
5456
shell: bash -l {0}
5557
run: |

.github/workflows/redo_regressions.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,9 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424
ref: ${{ github.event.pull_request.head.ref }}
25-
- uses: conda-incubator/setup-miniconda@v3
25+
- uses: ./.github/actions/install_conda_pip
2626
with:
27-
python-version: "3.12"
28-
use-mamba: true
29-
auto-update-conda: true
30-
activate-environment: test
31-
- name: Setup conda and install LHAPDF and pandoc
32-
shell: bash -l {0}
33-
run: |
34-
echo "$NETRC_FILE" | base64 --decode > ~/.netrc
35-
conda config --remove channels defaults
36-
conda config --append channels conda-forge
37-
conda config --set show_channel_urls true
38-
conda install lhapdf pandoc
39-
- name: Install nnpdf with testing and qed extras
40-
shell: bash -l {0}
41-
run: |
42-
pip install .[qed,tests]
27+
python-version: "[qed,tests]"
4328
- name: Regenerate regressions
4429
shell: bash -l {0}
4530
run: |

0 commit comments

Comments
 (0)