-
Notifications
You must be signed in to change notification settings - Fork 1k
63 lines (63 loc) · 2.27 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
jobs:
testdeployment:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- uses: nanasess/setup-chromedriver@v2
- 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: "[email protected]"
GALAXY_TEST_USEGALAXYMAIN_USER_PASSWORD: ${{ secrets.USEGALAXYMAIN_USER_PASSWORD }}
GALAXY_TEST_USEGALAXYMAIN_USER_KEY: ${{ secrets.USEGALAXYMAIN_USER_KEY }}
GALAXY_TEST_USEGALAXYTEST_USER_EMAIL: "[email protected]"
GALAXY_TEST_USEGALAXYTEST_USER_PASSWORD: ${{ secrets.USEGALAXYTEST_USER_PASSWORD }}
GALAXY_TEST_USEGALAXYTEST_USER_KEY: ${{ secrets.USEGALAXYTEST_USER_KEY }}
GALAXY_TEST_USEGALAXYEU_USER_EMAIL: "[email protected]"
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@v4
if: always()
with:
name: Deployment test results (${{ inputs.target }}, ${{ inputs.type }}, ${{ inputs.debug }}, ${{ matrix.python-version }})
path: 'deployment_tests.html'