Skip to content

Commit 5bf3daf

Browse files
authored
Update production CI (#415)
* Add 3.0_develop CI to master branch (as github demands) * Update with more examples
1 parent cc7aa82 commit 5bf3daf

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/ci_production.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Production Service Testing
2+
3+
on:
4+
schedule:
5+
- cron: '0 */6 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
environment: production-service
12+
strategy:
13+
matrix:
14+
example: [Uproot_UprootRaw_Dict.py, Uproot_PythonFunction_Dict.py, Uproot_FuncADL_Dict.py]
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
ref: 3.0_develop
20+
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: 3.12
25+
26+
- name: Save secret
27+
run: 'echo "$SERVICEX_YAML" > servicex.yaml'
28+
shell: bash
29+
env:
30+
SERVICEX_YAML: ${{ secrets.SERVICEX_YAML }}
31+
32+
- name: Install package
33+
run: |
34+
python -m pip install --upgrade uv
35+
uv pip install --system --upgrade pip setuptools wheel
36+
uv pip install --system --upgrade '.[databinder,pandas,test]'
37+
uv pip list --system
38+
39+
- name: Run examples
40+
working-directory: examples
41+
run: python3 ${{ matrix.example }}

0 commit comments

Comments
 (0)