Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Update tests on pull request (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan authored Feb 18, 2023
1 parent 4274b46 commit 1d71c98
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: Get screenshot of running container
#TODO: find a way to log errors from docker container onto github
#TODO: find a way to test client and server before running the docker container, seems effective in catching any errors

on:
pull_request:

jobs:
build-docker-image:
name: Build docker image for testing
build-docker-nvidia:
name: Build nvidia Docker image
runs-on: ubuntu-latest

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

-
name: Build docker image with docker compose
run: |
cp docker/nvidia/Dockerfile .
docker build -t qwantify:nvidia .
name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build Docker image
uses: docker/build-push-action@v4
with:
context: ./
file: docker/nvidia/Dockerfile
push: false
load: true
tags: warp:latest

0 comments on commit 1d71c98

Please sign in to comment.