Merge pull request #606 from krokedil/develop-woo-quality-insights #747
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E tests | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
test-plugin: | |
name: Run E2E Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
API_KEY: ${{secrets.E2E_API_KEY}} | |
API_SECRET: ${{secrets.E2E_API_SECRET}} | |
steps: | |
- name: Create dirs. | |
run: | | |
mkdir -p kco | |
- name: Setup KCO | |
uses: actions/checkout@v2 | |
with: | |
path: kco | |
- name: Setup Yarn | |
run: | | |
cd ./kco/tests/e2e/ | |
yarn install | |
- name: Run Tests | |
run: | | |
cd ./kco/tests/e2e/ | |
yarn e2e:test |