Skip to content

Commit

Permalink
run e2e in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Jun 30, 2024
1 parent 17bfbf7 commit dcc25db
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,28 @@ jobs:
- name: Run all component tests
run: yarn nx run-many --target=test/components/ci --parallel --verbose --projects=tag:linux

# e2e_tests_linux:
# name: Verify PR - Component Tests (Linux)
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Extract node version from package.json
# uses: sergeysova/jq-action@v2
# id: node_version
# with:
# cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g'
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '${{ steps.node_version.outputs.value }}'
# - name: Use Yarn
# run: corepack enable
# - name: Install deps
# run: yarn
# - name: Run all e2e tests
# run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux
e2e_tests_linux:
name: Verify PR - Component Tests (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Extract node version from package.json
uses: sergeysova/jq-action@v2
id: node_version
with:
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ steps.node_version.outputs.value }}'
- name: Use Yarn
run: corepack enable
- name: Install deps
run: yarn
- name: Run all e2e tests
run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux

publish_images:
name: Publish images
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/pull-request-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,28 +57,28 @@ jobs:
- name: Run all component tests
run: yarn nx affected --base=origin/main --head=HEAD --target=test/components/ci --verbose --exclude='*,!tag:linux'

# e2e_tests_linux:
# name: Verify PR - Component Tests (Linux)
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Extract node version from package.json
# uses: sergeysova/jq-action@v2
# id: node_version
# with:
# cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g'
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '${{ steps.node_version.outputs.value }}'
# - name: Use Yarn
# run: corepack enable
# - name: Install deps
# run: yarn
# - name: Run all e2e tests
# run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux
e2e_tests_linux:
name: Verify PR - Component Tests (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Extract node version from package.json
uses: sergeysova/jq-action@v2
id: node_version
with:
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ steps.node_version.outputs.value }}'
- name: Use Yarn
run: corepack enable
- name: Install deps
run: yarn
- name: Run all e2e tests
run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux

publish_images:
name: Package
Expand Down

0 comments on commit dcc25db

Please sign in to comment.