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
This commit is contained in:
Jordan Eldredge 2020-02-19 20:14:16 -08:00 committed by GitHub
parent 1f1b7aa229
commit 296ffdd7da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 39 additions and 17 deletions

View file

@ -4,7 +4,7 @@ const postcss = require("postcss");
const plugin = require("./postcss-optimize-data-uri-pngs");
const css = fs.readFileSync("./css/base-skin.css", "utf8");
// This seems to timeout a lot on Travis
// This seems to timeout a lot in CI
it.skip("does something", async () => {
const result = await postcss([plugin({})]).process(css);
expect(result.css.length).toBeLessThan(css.length);