Merge pull request #11356 from mvdbeek/move_first_startup_to_gh_workflow

This commit is contained in:
Nicola Soranzo
2021-02-12 10:49:16 +00:00
committed by GitHub
2 changed files with 35 additions and 13 deletions
-13
View File
@@ -100,17 +100,6 @@ jobs:
- *install_tox
- *install_ffprobe
- run: tox -e py35-unit
py35_first_startup:
docker:
- image: circleci/python:3.5
<<: *set_workdir
steps:
- *restore_repo_cache
# Use this job to test the latest migrations
- run: wget -q https://github.com/jmchilton/galaxy-downloads/raw/master/db_gx_rev_0141.sqlite
- run: mv db_gx_rev_0141.sqlite database/universe.sqlite
- *install_tox
- run: tox -e py35-first_startup
validate_test_tools:
docker:
- image: circleci/python:3.5
@@ -163,8 +152,6 @@ workflows:
<<: *requires_get_code
- py35_unit:
<<: *requires_get_code
- py35_first_startup:
<<: *requires_get_code
- test_galaxy_packages:
<<: *requires_get_code
- validate_test_tools:
+35
View File
@@ -0,0 +1,35 @@
name: first startup
on: [push, pull_request]
jobs:
test:
name: Startup test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5']
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
with:
path: 'galaxy root'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip dir
uses: actions/cache@v1
id: pip-cache
with:
path: ~/.cache/pip
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}
- name: Install tox
run: pip install tox
# Use this job to test the latest migrations
- run: wget -q https://github.com/jmchilton/galaxy-downloads/raw/master/db_gx_rev_0141.sqlite
- run: mv db_gx_rev_0141.sqlite 'galaxy root'/database/universe.sqlite
- name: run tests
run: tox -e first_startup
working-directory: 'galaxy root'