diff --git a/.circleci/config.yml b/.circleci/config.yml index 8d5b9335bc3..f099c20288b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/.github/workflows/first_startup.yaml b/.github/workflows/first_startup.yaml new file mode 100644 index 00000000000..4d91098d62e --- /dev/null +++ b/.github/workflows/first_startup.yaml @@ -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'