Skip to content

Commit

Permalink
ci: align e2e configuration with the frontend one
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed Jan 7, 2020
1 parent fb39d84 commit 1fd1f94
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
API_FOLDER: /home/runner/work/opencollective-api/opencollective-api
FRONTEND_FOLDER: /home/runner/work/opencollective-api/opencollective-api/opencollective-frontend
TERM: xterm

jobs:
e2e:
Expand All @@ -42,8 +43,14 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- name: Update apt
run: sudo apt-get update || exit 0

- name: Install Cypress dependencies
run: sudo apt-get install --no-install-recommends -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb fonts-arphic-bkai00mp fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp fonts-arphic-gkai00mp fonts-arphic-ukai fonts-arphic-uming ttf-wqy-zenhei ttf-wqy-microhei xfonts-wqy

- name: Install postgresql-client
run: sudo apt-get install postgresql-client
run: sudo apt-get install -y postgresql-client

- name: Checkout (api)
uses: actions/checkout@v2-beta
Expand Down

0 comments on commit 1fd1f94

Please sign in to comment.