File tree Expand file tree Collapse file tree 2 files changed +36
-6
lines changed
Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 11name : Publish Services to GHCR
22
33on :
4- push :
5- branches :
6- - main
7- pull_request :
8- branches :
9- - main
4+ workflow_run :
5+ workflows : [Test]
6+ types :
7+ - completed
108
119jobs :
1210 build :
1715 DASHBOARD_SERVICE_IMAGE_NAME : intersect-service
1816 STORAGE_SERVICE_IMAGE_NAME : intersect-storage
1917
18+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
2019 steps :
2120 - name : Checkout repository
2221 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Miniconda
19+ uses : conda-incubator/setup-miniconda@v2
20+ with :
21+ conda-version : " 24.11.2"
22+ auto-activate-base : false
23+
24+ - name : Install dependencies
25+ run : |
26+ conda env create -f config/environment.yaml
27+ conda run --no-capture-output -n espd_mantid pip install pytest
28+
29+ - name : Run tests
30+ run : |
31+ conda run --no-capture-output -n espd_mantid python -m pytest
You can’t perform that action at this time.
0 commit comments