File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -108,3 +108,49 @@ jobs:
108
108
tests/Integration/WorkloadManagementSystem/Test_GenerateAndExecutePilotWrapper.py \
109
109
src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py \
110
110
src/DIRAC/Resources/Computing/BatchSystems/*.py
111
+
112
+ diracx :
113
+ name : DiracX Unit Tests
114
+ runs-on : ubuntu-latest
115
+ steps :
116
+ - name : Checkout DIRAC
117
+ uses : actions/checkout@v4
118
+ with :
119
+ fetch-depth : 0
120
+ path : DIRAC
121
+ - name : Checkout DiracX
122
+ uses : actions/checkout@v4
123
+ with :
124
+ fetch-depth : 0
125
+ repository : DIRACGrid/diracx
126
+ path : diracx
127
+ -
uses :
prefix-dev/[email protected]
128
+ with :
129
+ run-install : false
130
+ post-cleanup : false
131
+ - name : Apply workarounds
132
+ run : |
133
+ cd diracx
134
+ # Workaround for https://github.com/prefix-dev/pixi/issues/3762
135
+ sed -i.bak 's@editable = true@editable = false@g' pixi.toml
136
+ rm pixi.toml.bak
137
+ # Add annotations to github actions
138
+ pixi add --no-install --pypi --feature diracx-core pytest-github-actions-annotate-failures
139
+ # Add the current DIRAC clone to the pixi.toml
140
+ pixi add --no-install --pypi --feature diracx-core 'DIRAC @ file://'$PWD'/../DIRAC'
141
+ # Show any changes
142
+ git diff
143
+ -
uses :
prefix-dev/[email protected]
144
+ with :
145
+ cache : false
146
+ manifest-path : diracx/pixi.toml
147
+ environments : >-
148
+ diracx-core
149
+ diracx-db
150
+ diracx-logic
151
+ diracx-routers
152
+ diracx-client
153
+ diracx-api
154
+ diracx-cli
155
+ - name : Run pytest
156
+ run : cd diracx && pixi run pytest-diracx-all-one-by-one
You can’t perform that action at this time.
0 commit comments