Skip to content

.github/workflows/docker-test-dropseq.yml #315

.github/workflows/docker-test-dropseq.yml

.github/workflows/docker-test-dropseq.yml #315

name: Test DropSeq / Nadia

Check failure on line 1 in .github/workflows/docker-test-dropseq.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-test-dropseq.yml

Invalid workflow file

`workflow_dispach` is not a valid event name
on: workflow_dispach
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose up -d
- name: Status
run: echo "build complete"
test-dropseq:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
registry: ${{ env.REGISTRY }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/universc:test
push: false
- name: clear environment
run: rm -rf *
- name: Test DropSeq
run: docker run ${{ secrets.DOCKER_HUB_USERNAME }}/universc:test timeout 20m bash /universc/test/run_tests_dropseq_gh_actions.sh || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi