Add docker image for kubernetes helm chart #412
This file contains 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: Framework tests | |
on: [push, pull_request] | |
env: | |
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8'] | |
galaxy-branch: ['dev', 'master'] | |
metadata-strategy: ['directory'] | |
include: | |
- python-version: '3.8' | |
galaxy-branch: 'dev' | |
metadata-strategy: 'extended' | |
services: | |
postgres: | |
image: postgres:13 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: postgres | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: 'pulsar' | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: galaxyproject/galaxy | |
ref: ${{ matrix.galaxy-branch }} | |
path: galaxy | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build Pulsar wheel and replace Galaxy's requirements. | |
run: python tools/replace_galaxy_requirements_for_ci.py | |
working-directory: 'pulsar' | |
- name: Cache pip dir | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy/requirements.txt') }} | |
- name: Run tests | |
run: ./run_tests.sh --framework | |
working-directory: 'galaxy' | |
env: | |
GALAXY_TEST_JOB_CONFIG_FILE: ../pulsar/test_data/test_job_conf.yaml | |
GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: ${{ matrix.metadata-strategy }} | |
continue-on-error: ${{ matrix.galaxy-branch == 'master' }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Framework test results (${{ matrix.python-version }}) | |
path: 'galaxy/run_framework_tests.html' |