-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (34 loc) · 928 Bytes
/
pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Test Seurat workflow with CLI scripts
on: [pull_request]
jobs:
setup:
name: ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Add workspace to path
run: |
echo "${GITHUB_WORKSPACE}" >> $GITHUB_PATH
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.4.5-0'
environment-file: test-environment.yml
init-shell: >-
bash
cache-environment: true
create-args: |
python=${{ matrix.python-version }}
post-cleanup: 'all'
- name: Run tests
shell: bash -el {0}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
r-seurat-scripts-post-install-tests.sh