Skip to content

Commit

Permalink
#291 Re-enable e2e action but disable e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Jun 26, 2024
1 parent 6551a45 commit e4e36ef
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,54 +80,54 @@ jobs:
# - name: Unit tests
# run: yarn test

# e2e:
# runs-on: ubuntu-latest
e2e:
runs-on: ubuntu-latest

# steps:
# - name: Checkout
# uses: actions/checkout@v4
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Install Poetry
# run: pipx install poetry==${{ env.POETRY_VERSION }}
- name: Install Poetry
run: pipx install poetry==${{ env.POETRY_VERSION }}

# - name: Set up Python with Poetry cache
# uses: actions/setup-python@v5
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# cache: poetry
- name: Set up Python with Poetry cache
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry

# - name: Install Python dependencies
# run: poetry install
- name: Install Python dependencies
run: poetry install

# - name: Set up Node
# uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

# - name: Enable Yarn
# run: corepack enable
- name: Enable Yarn
run: corepack enable

# - name: Install Node.js dependencies
# run: yarn
- name: Install Node.js dependencies
run: yarn

# - name: Install Playwright browsers
# run: poetry run playwright install chromium
- name: Install Playwright browsers
run: poetry run playwright install chromium

# - name: Build frontend
# run: yarn build
- name: Build frontend
run: yarn build

# - name: Start E2E server
# run: poetry run python tests/e2e/start_server.py &
- name: Start E2E server
run: poetry run python tests/e2e/start_server.py &

# - name: Ensure E2E server is up
# run: yarn wait-on http://127.0.0.1:5051 -t 1000
- name: Ensure E2E server is up
run: yarn wait-on http://127.0.0.1:5051 -t 1000

# - name: E2E tests
# run: poetry run pytest tests/e2e
# - name: E2E tests
# run: poetry run pytest tests/e2e

# - name: Upload failure traces
# uses: actions/upload-artifact@v4
# if: failure()
# with:
# name: e2e-failure-traces
# path: test-results
# - name: Upload failure traces
# uses: actions/upload-artifact@v4
# if: failure()
# with:
# name: e2e-failure-traces
# path: test-results

0 comments on commit e4e36ef

Please sign in to comment.