fix(generator): use logarithmic cuda graph sizes #1003
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: "Build and Test" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "release/*" | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Git LFS Pull | |
| run: git lfs pull | |
| - name: Build wheel in container | |
| run: | | |
| docker build -f docker/Dockerfile -t aiconfigurator:build --target build . | |
| - name: Run tests in container | |
| run: | | |
| docker build -f docker/Dockerfile -t aiconfigurator:test --target test . | |
| docker run --name aic aiconfigurator:test \ | |
| pytest \ | |
| -m "unit or build" \ | |
| -v --tb=short --maxfail=1 --timeout=600 \ | |
| -n 4 \ | |
| --md-report --md-report-verbose=1 --md-report-flavor gfm --md-report-output test_report.md | |
| - name: Copy test report from test Container | |
| if: always() | |
| run: | | |
| docker cp aic:/workspace/test_report.md ./test_report.md | |
| - name: Render the report to the PR when tests fail | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| if: failure() | |
| with: | |
| header: test-report | |
| recreate: true | |
| path: test_report.md |