mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
31 lines
872 B
YAML
31 lines
872 B
YAML
name: macOS startup
|
|
on: [push, pull_request]
|
|
jobs:
|
|
|
|
test:
|
|
name: Startup test
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
shell: bash -l {0}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
path: 'galaxy root'
|
|
- name: Cache pip dir
|
|
uses: actions/cache@v1
|
|
id: pip-cache
|
|
with:
|
|
path: ~/Library/Caches/pip
|
|
# scripts/common_startup.sh creates a conda env for Galaxy containing Python 3.6
|
|
key: pip-cache-3.6-${{ hashFiles('galaxy root/requirements.txt') }}
|
|
- name: Install and activate miniconda # use this job to test using Python from a conda environment
|
|
uses: conda-incubator/setup-miniconda@v2
|
|
with:
|
|
activate-environment: ''
|
|
- name: Install tox
|
|
run: pip install tox
|
|
- name: run tests
|
|
run: tox -e first_startup
|
|
working-directory: 'galaxy root'
|