Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #110 from buildkite/add-a-build-and-test-action
Browse files Browse the repository at this point in the history
Add a build and test action
  • Loading branch information
Tim Lucas authored Apr 24, 2020
2 parents 0a092c9 + b3e3f21 commit db2d815
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build & Test

on: [push, pull_request]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: docker build . --tag buildkite/puppeteer:latest
- name: Test
run: |
cd example
docker-compose -f docker-compose.integration-tests.yml build tests
docker-compose -f docker-compose.integration-tests.yml run tests
ls screenshots/app.png
- uses: actions/upload-artifact@v1
with:
name: test-screenshot.png
path: example/screenshots/app.png

0 comments on commit db2d815

Please sign in to comment.