webamp/.github/workflows/ia-integration-tests.yml
Jordan Eldredge 296ffdd7da
Get Screenshot tests working in CI (#967)
* Use GitHub Actions only

This retires Travis, and starts upload screenshot diffs when integration
tests fail.

* Use screenshots that match CI font rendering

* Run tests on Node 12
2020-02-19 20:14:16 -08:00

28 lines
622 B
YAML

name: "Internet Archvie Integration Tests"
on:
push:
schedule:
- cron: "0 8 * * *"
jobs:
ia-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Run Tests
run: |
cd experiments/archive-org-integration-tests
yarn
node ./index.js
env:
CI: true
- uses: actions/upload-artifact@v1
if: failure()
with:
name: error
path: experiments/archive-org-integration-tests/error.png