Skip to content

.github/workflows/docker-test-sciseq.yml #234

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

.github/workflows/docker-test-sciseq.yml #234

name: Test SCI-Seq

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

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-test-sciseq.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-sci-seq:
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 SCI-Seq
run: docker run ${{ secrets.DOCKER_HUB_USERNAME }}/universc:test timeout 30m bash /universc/test/run_tests_sciseq_gh_actions.sh || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi