This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Pytest fs_filepicker
22
3- on :
3+ on :
44 workflow_call :
55 inputs :
66 xdist :
8282 && source /opt/conda/etc/profile.d/conda.sh \
8383 && source /opt/conda/etc/profile.d/mamba.sh \
8484 && mamba activate fsfp-${{ inputs.branch_name }}-env \
85- && pytest -v --durations=20 --reverse --cov=fslib tests \
86- || (for i in {1..5} \
87- ; do pytest tests -v --durations=0 --reverse --last-failed --lfnf=none \
88- && break \
89- ; done)
85+ && pytest -v --durations=20 --reverse --cov=fslib tests
9086
9187 - name : Run tests in parallel
9288 if : ${{ success() && inputs.xdist == 'yes' }}
@@ -96,15 +92,11 @@ jobs:
9692 && source /opt/conda/etc/profile.d/conda.sh \
9793 && source /opt/conda/etc/profile.d/mamba.sh \
9894 && mamba activate fsfp-${{ inputs.branch_name }}-env \
99- && pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests \
100- || (for i in {1..5} \
101- ; do pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests --last-failed --lfnf=none \
102- && break \
103- ; done)
95+ && pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests
10496
10597 - name : Collect coverage
10698 if : ${{ success() && inputs.event_name == 'push' && inputs.branch_name == 'develop' && inputs.xdist == 'no'}}
107- env :
99+ env :
108100 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
109101 run : |
110102 cd $GITHUB_WORKSPACE \
Original file line number Diff line number Diff line change 7070 && source /opt/conda/etc/profile.d/conda.sh \
7171 && source /opt/conda/etc/profile.d/mamba.sh \
7272 && mamba activate fsfp-develop-env \
73- && pytest -v --durations=20 --reverse --cov=mslib tests \
74- || (for i in {1..5} \
75- ; do pytest tests -v --durations=0 --reverse --last-failed --lfnf=none \
76- && break \
77- ; done)
73+ && pytest -v --durations=20 --reverse --cov=mslib tests
7874
7975
8076 - name : Run tests in parallel
@@ -85,15 +81,11 @@ jobs:
8581 && source /opt/conda/etc/profile.d/conda.sh \
8682 && source /opt/conda/etc/profile.d/mamba.sh \
8783 && mamba activate fsfp-develop-env \
88- && pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests \
89- || (for i in {1..5} \
90- ; do pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests --last-failed --lfnf=none \
91- && break \
92- ; done)
84+ && pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests
9385
9486 - name : Collect coverage
9587 if : ${{ success() && inputs.event_name == 'push' && inputs.branch_name == 'develop' && inputs.xdist == 'no'}}
96- env :
88+ env :
9789 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9890 run : |
9991 cd $GITHUB_WORKSPACE \
You can’t perform that action at this time.
0 commit comments