Skip to content

Commit

Permalink
chore (e2e): reinstate e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Feb 1, 2024
1 parent a0a2472 commit 28202ce
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,39 +142,39 @@ jobs:
cat access.log | grep -vz "WARN"
cat access.log | grep -vz "ERR"
# test_e2e:
# needs: [test_smoke]
# runs-on: ubuntu-latest
# container:
# image: machines/puppeteer
# options: --user root
# env:
# ADMIN_PASSWORD: $2a$10$9OFbPZV4lYpYjU5eUi91o.kgeMyCuW11j878YBRri3gBwccq2lSFy
# APP_URL: http://127.0.0.1:8334
# CI: true
# steps:
# - uses: actions/checkout@v3
# - name: Clone test repo
# uses: actions/checkout@v3
# with:
# repository: mickael-kerjean/filestash-test
# ssh-key: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
# path: test
# - name: Restore Build
# uses: actions/download-artifact@v4
# with:
# name: build
# - name: Setup
# run: |
# cd ./test/e2e
# npm install
# - name: Run
# run: |
# chmod +x ./filestash
# ./filestash > /dev/null &
# cd ./test/e2e
# node servers/webdav.js > /dev/null &
# npm test
test_e2e:
needs: [test_smoke]
runs-on: ubuntu-latest
container:
image: machines/puppeteer
options: --user root
env:
ADMIN_PASSWORD: $2a$10$9OFbPZV4lYpYjU5eUi91o.kgeMyCuW11j878YBRri3gBwccq2lSFy
APP_URL: http://127.0.0.1:8334
CI: true
steps:
- uses: actions/checkout@v3
- name: Clone test repo
uses: actions/checkout@v3
with:
repository: mickael-kerjean/filestash-test
ssh-key: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
path: test
- name: Restore Build
uses: actions/download-artifact@v4
with:
name: build
- name: Setup
run: |
cd ./test/e2e
npm install
- name: Run
run: |
chmod +x ./filestash
./filestash > /dev/null &
cd ./test/e2e
node servers/webdav.js > /dev/null &
npm test
release_docker_amd64:
# if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 28202ce

Please sign in to comment.