Release v2.1.2 #15
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install test dependencies | |
| run: python3 -m pip install --disable-pip-version-check -r requirements.txt | |
| - name: Run repository package tests | |
| run: python3 -m unittest discover -s scripts -p 'test_*.py' | |
| - name: Run offline release preflight | |
| run: python3 scripts/release_preflight.py | |
| - name: Run plugin tests | |
| if: ${{ hashFiles('plugins/tfd/scripts/**/test_*.py') != '' }} | |
| working-directory: plugins/tfd | |
| run: python3 -m unittest discover -s scripts -p 'test_*.py' | |
| - name: Run isolated TFD forward contracts | |
| working-directory: plugins/tfd | |
| run: python3 -m unittest scripts.test_tfd_forward_contract -v |