Skip to content

Fetch all reviews in `.github/workflows/require-core-maintainer-appro… #137

Fetch all reviews in `.github/workflows/require-core-maintainer-appro…

Fetch all reviews in `.github/workflows/require-core-maintainer-appro… #137

Workflow file for this run

name: Deployments
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- master
- branch-[0-9]+.[0-9]+
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
jobs:
deployments:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/untracked
- uses: ./.github/actions/setup-python
- name: Install dependencies
run: |
pip install --no-dependencies tests/resources/mlflow-test-plugin
pip install .[gateway] \
pytest pytest-timeout pytest-asyncio httpx psutil sentence-transformers transformers
- name: Run tests
run: |
pytest tests/deployments