name: Test Util Scripts on: schedule: - cron: "0 8 * * SUN" push: paths: - 'flow/util/*.py' - 'flow/test/test_*.py' pull_request: paths: - 'flow/util/*.py' - 'flow/test/test_*.py' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: permissions: contents: read jobs: testUtilScripts: strategy: fail-fast: false runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }} steps: - name: Check out repository code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 1 submodules: recursive - name: Install Dependencies run: | sudo apt update sudo apt install -y python3-pip - name: Run Tests run: | cd flow/test for file in *.py; do python "$file" done