Skip to content

Production Service Testing #45

Production Service Testing

Production Service Testing #45

name: Production Service Testing
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
environment: production-service
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Save secret
run: 'echo "$SERVICEX_YAML" > servicex.yaml'
shell: bash
env:
SERVICEX_YAML: ${{ secrets.SERVICEX_YAML }}
- name: ServiceX target info
run: grep endpoint servicex.yaml | xxd -ps
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install package
run: |
uv pip install --system --upgrade '.[test]'
uv pip list --system
- name: Run example
working-directory: examples
run: python UprootRaw_Dict.py