Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(ci): add circle ci (#1188)

Andrey Lushnikovbccdaec8b483
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000000..f35d4b11b4
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,26 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: aslushnikov/playwright
+ steps:
+ - checkout
+
+ - restore_cache:
+ key: dependency-cache-{{ checksum "package.json" }}
+
+ - run:
+ command: npm install
+
+ - save_cache:
+ key: dependency-cache-{{ checksum "package.json" }}
+ paths:
+ - ./.local-chromium
+ - ./.local-firefox
+ - ./.local-webkit
+
+ - run:
+ command: |
+ xvfb-run --auto-servernum npm run ctest
+ xvfb-run --auto-servernum npm run ftest
+ xvfb-run --auto-servernum npm run wtest