From e4e36ef01f32d643ae2dff39581132143b77179a Mon Sep 17 00:00:00 2001 From: Alex Hadley Date: Wed, 26 Jun 2024 12:43:57 -0700 Subject: [PATCH] #291 Re-enable e2e action but disable e2e tests --- .github/workflows/ci.yml | 76 ++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42b2ec4..24e59bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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