Moved ODB hashing into its own method and made it compatible with pre… #168
Workflow file for this run
This file contains hidden or 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: Test Util Scripts | |
| on: | |
| schedule: | |
| - cron: "0 8 * * SUN" | |
| push: | |
| paths: | |
| - 'flow/util/genElapsedTime.py' | |
| - 'flow/test/test_genElapsedTime.py' | |
| pull_request: | |
| paths: | |
| - 'flow/util/genElapsedTime.py' | |
| - 'flow/test/test_genElapsedTime.py' | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| 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@v3 | |
| 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 |