mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-28 20:09:01 +08:00
Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 10.3.3 to 10.4.0 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v10.3.3...v10.4.0) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 10.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
71 lines
2.4 KiB
YAML
71 lines
2.4 KiB
YAML
name: Deployment Tests
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
target:
|
|
description: 'Galaxy Deployment to target'
|
|
required: true
|
|
default: 'usegalaxymain'
|
|
type: choice
|
|
options:
|
|
- usegalaxytest
|
|
- usegalaxymain
|
|
- usegalaxyeu
|
|
type:
|
|
description: 'Test type'
|
|
required: true
|
|
default: 'all'
|
|
type: choice
|
|
options:
|
|
- all
|
|
- api
|
|
- selenium
|
|
debug:
|
|
required: true
|
|
description: 'Run deployment tests with debug mode on'
|
|
type: boolean
|
|
env:
|
|
UV_HTTP_RETRIES: '6'
|
|
permissions: {}
|
|
jobs:
|
|
testdeployment:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.11']
|
|
steps:
|
|
- uses: actions/checkout@v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v10.4.0
|
|
with:
|
|
version-file: .tool-versions
|
|
python-version: ${{ matrix.python-version }}
|
|
prune-cache: true
|
|
- name: Install Python
|
|
run: uv python install
|
|
- uses: nanasess/setup-chromedriver@v3
|
|
- name: Run tests
|
|
run: bash ./test/deployment/usegalaxystar.bash
|
|
env:
|
|
GALAXY_TEST_DEPLOYMENT_TARGET: ${{ inputs.target }}
|
|
GALAXY_TEST_DEPLOYMENT_DEBUG: ${{ inputs.debug }}
|
|
GALAXY_TEST_DEPLOYMENT_TEST_TYPE: ${{ inputs.type }}
|
|
GALAXY_TEST_USEGALAXYMAIN_USER_EMAIL: "jmchilton+test@gmail.com"
|
|
GALAXY_TEST_USEGALAXYMAIN_USER_PASSWORD: ${{ secrets.USEGALAXYMAIN_USER_PASSWORD }}
|
|
GALAXY_TEST_USEGALAXYMAIN_USER_KEY: ${{ secrets.USEGALAXYMAIN_USER_KEY }}
|
|
GALAXY_TEST_USEGALAXYTEST_USER_EMAIL: "jmchilton+test@gmail.com"
|
|
GALAXY_TEST_USEGALAXYTEST_USER_PASSWORD: ${{ secrets.USEGALAXYTEST_USER_PASSWORD }}
|
|
GALAXY_TEST_USEGALAXYTEST_USER_KEY: ${{ secrets.USEGALAXYTEST_USER_KEY }}
|
|
GALAXY_TEST_USEGALAXYEU_USER_EMAIL: "jmchilton+test@gmail.com"
|
|
GALAXY_TEST_USEGALAXYEU_USER_PASSWORD: ${{ secrets.USEGALAXYEU_USER_PASSWORD }}
|
|
GALAXY_TEST_USEGALAXYEU_USER_KEY: ${{ secrets.USEGALAXYEU_USER_KEY }}
|
|
GALAXY_TEST_TIMEOUT_MULTIPLIER: 10
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
with:
|
|
name: Deployment test results (${{ inputs.target }}, ${{ inputs.type }}, ${{ inputs.debug }}, ${{ matrix.python-version }})
|
|
path: 'deployment_tests.html'
|