Create multiomics_submission.md #261
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Free up disk space | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: false | |
docker-images: true | |
swap-storage: false | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Download Shiny Proxy | |
run: wget -O shiny-proxy/shinyproxy-2.6.1.jar https://www.shinyproxy.io/downloads/shinyproxy-2.6.1.jar | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install test suite dependencies | |
working-directory: ./tests | |
run: npm install | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Dockerfile | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./docker/Dockerfile | |
load: true | |
push: false | |
tags: quay.io/microbiome-informatics/emg-notebooks.dev:latest | |
- name: Run tests | |
working-directory: ./tests | |
run: npm test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: launching-jupyter-lab-screenshot | |
path: | | |
tests/launching_jl.png | |
tests/shiny_proxy_launched.png | |
tests/jl_launched.png | |
- name: Login to Quay.io | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_USERNAME }} | |
password: ${{ secrets.QUAY_PASSWORD }} | |
- id: docker-tag | |
uses: yuya-takeyama/docker-tag-from-github-ref-action@v1 | |
- name: Push | |
run: | | |
docker tag quay.io/microbiome-informatics/emg-notebooks.dev:latest quay.io/microbiome-informatics/emg-notebooks.dev:${{ steps.docker-tag.outputs.tag }} | |
docker push quay.io/microbiome-informatics/emg-notebooks.dev:${{ steps.docker-tag.outputs.tag }} |