Files
galaxy/.github/workflows/osx_startup.yaml
T
Nicola Soranzo 8c444ac5c1 Move unit tests to GitHub workflows
Also some random fixes to other GitHub workflows.
2021-03-04 20:01:06 +00:00

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'