Feat/bindplane version arg #196
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: Comprehensive Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| jobs: | |
| comprehensive-tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| checks: write | |
| steps: | |
| - name: Free Disk Space | |
| run: | | |
| # Remove unnecessary large packages | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| # Clean up docker images | |
| docker system prune -af | |
| # Clean apt cache | |
| sudo apt-get clean | |
| df -h | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.0" | |
| cache: true | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r builder/requirements-dev.txt | |
| - name: Clean build artifacts | |
| run: | | |
| rm -rf ./artifacts | |
| docker system prune -af | |
| df -h | |
| - name: Run Unit Tests | |
| run: | | |
| PYTHONPATH=builder/src python -m pytest builder/tests/ -v -m "unit" | |
| - name: Run Comprehensive Tests | |
| run: | | |
| PYTHONPATH=builder/src python -m pytest builder/tests/ -v -m "release" |