Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: disable e2e on ci #2363

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,30 @@ jobs:
# run: yarn server:test:fluree


e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/custom-actions/clojure-env
- uses: ./.github/custom-actions/node-env

# Caching the build is generally a terrible idea, but e2e is really slow
# and shadow-cljs is usually pretty good at cache invalidation.
# Still, if you think this cache is breaking builds, just bump the version number.
- name: Restore shadow-cljs build cache
uses: actions/cache@v2
id: restore-shadow-cljs-build-cache
with:
path: ./.shadow-cljs
key: ${{ runner.os }}-v2-shadow-cljs-build-cache-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-v2-shadow-cljs-build-cache

- name: Compile JS assets for dev
run: yarn client:dev-build

- name: Run client e2e tests over dev build
run: yarn client:e2e
# e2e:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/custom-actions/clojure-env
# - uses: ./.github/custom-actions/node-env

# # Caching the build is generally a terrible idea, but e2e is really slow
# # and shadow-cljs is usually pretty good at cache invalidation.
# # Still, if you think this cache is breaking builds, just bump the version number.
# - name: Restore shadow-cljs build cache
# uses: actions/cache@v2
# id: restore-shadow-cljs-build-cache
# with:
# path: ./.shadow-cljs
# key: ${{ runner.os }}-v2-shadow-cljs-build-cache-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-v2-shadow-cljs-build-cache

# - name: Compile JS assets for dev
# run: yarn client:dev-build

# - name: Run client e2e tests over dev build
# run: yarn client:e2e


build-app:
Expand All @@ -114,8 +114,8 @@ jobs:
SENTRY_DSN: ${{ secrets.sentry_dsn }}
COMMIT_URL: "https://github.com/${{github.repository}}/commit/${{github.sha}}"

- name: Run client e2e tests over the prod build
run: yarn client:e2e
# - name: Run client e2e tests over the prod build
# run: yarn client:e2e

- name: Upload built app for release-web, release-electron
uses: actions/upload-artifact@v2
Expand Down