Limit jobs in mesosdaq (#1680) #492
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 PIP Installation | |
| on: | |
| pull_request: | |
| branches: [ '**' ] | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-24.04 # Required for Python 3.6 | |
| strategy: | |
| matrix: | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| - name: Run smoke test - pip install ali-bot[ci] | |
| run: | | |
| set -e | |
| python -m venv venv | |
| source venv/bin/activate | |
| python -m pip install --upgrade pip | |
| python -m pip install 'ali-bot[ci] @ git+https://github.com/alisw/ali-bot@${{ github.sha }}' alibuild |