Add workflow to run SDGym multi-table benchmark monthly and publish results #163
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: Install Tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| install: | |
| name: ${{ matrix.python_version }} install | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python_version: ["3.9", "3.13"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up python ${{ matrix.python_version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| - uses: actions/checkout@v4 | |
| - name: Build package | |
| run: | | |
| make package | |
| - name: Install package | |
| run: | | |
| python -m pip install --no-cache-dir "unpacked_sdist/." | |
| - name: Test by importing packages | |
| run: | | |
| python -c "import sdgym" | |
| python -c "import sdgym;print(sdgym.__version__)" | |
| - name: Check package conflicts | |
| run: | | |
| python -m pip check |