Production Service Testing #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |