Skip to content

Commit

Permalink
Merge pull request #955 from jashapiro/jashapiro/seurat-convert-docker
Browse files Browse the repository at this point in the history
Use docker for seurat-conversion tests
  • Loading branch information
jashapiro authored Dec 19, 2024
2 parents 27d1947 + 021757b commit 626069f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker_all-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- cell-type-nonETP-ALL-03
- cell-type-ETP-ALL-03
- cell-type-consensus
- seurat-conversion
uses: ./.github/workflows/build-push-docker-module.yml
if: github.repository_owner == 'AlexsLemonade'
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_all-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
cell-type-consensus:
uses: ./.github/workflows/run_cell-type-consensus.yml

seurat-conversion:
uses: ./.github/workflows/run_seurat-conversion.yml

## Add additional modules above this comment, and to the needs list below
check-jobs:
if: ${{ always() }}
Expand All @@ -56,6 +59,7 @@ jobs:
- cell-type-ETP-ALL-03
- cell-type-nonETP-ALL-03
- cell-type-consensus
- seurat-conversion
runs-on: ubuntu-latest
steps:
- name: Checkout template file
Expand Down
23 changes: 8 additions & 15 deletions .github/workflows/run_seurat-conversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,20 @@ jobs:
run-module:
if: github.repository_owner == 'AlexsLemonade'
runs-on: ubuntu-latest
container: public.ecr.aws/openscpca/seurat-conversion:latest
defaults:
run:
shell: bash -el {0}

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: 4.4.0
use-public-rspm: true

- name: Install additional dependencies
- name: Install aws-cli
run: |
sudo apt-get install -y \
libhdf5-dev \
libglpk40
- name: Set up renv
uses: r-lib/actions/setup-renv@v2
with:
working-directory: ${{ env.MODULE_PATH }}
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
- name: Download test data
env:
Expand Down

0 comments on commit 626069f

Please sign in to comment.