Skip to content

e2e

e2e #1265

Workflow file for this run

name: e2e
on:
workflow_call:
workflow_dispatch:
env:
WORKSPACE_NAME: ${{ vars.E2E_WORKSPACE_NAME }}
BUCKET_NAME: ${{ secrets.E2E_BUCKET_NAME }}
USER_USERNAME: ${{ vars.E2E_USER_USERNAME }}
NEPTUNE_API_TOKEN: ${{ secrets.E2E_USER_API_TOKEN }}
ADMIN_USERNAME: ${{ vars.E2E_ADMIN_USERNAME }}
ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_API_TOKEN }}
SERVICE_ACCOUNT_NAME: ${{ vars.E2E_SERVICE_ACCOUNT_NAME }}
jobs:
e2e:
environment: Production
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.12" ]
os: [ ubuntu, windows, macos ]
runs-on: ${{ matrix.os }}-latest
name: 'standard (${{ matrix.os }} - py${{ matrix.python-version }})'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.client_payload.pull_request.head.ref }}
- name: Test
uses: ./.github/actions/test-e2e
env:
NEPTUNE_API_TOKEN: ${{ secrets.E2E_SERVICE_ACCOUNT_API_TOKEN }}
with:
python-version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
module: "not integrations"
name: "standard"
report_job: 'standard (${{ matrix.os }} - py${{ matrix.python-version }})'
codecov-token: ${{ secrets.CODECOV_TOKEN }}
e2e-tests-notify:
needs: [ e2e, ]
runs-on: ubuntu-latest
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.client_payload.pull_request.head.ref }}
- name: Notify
uses: ./.github/actions/workflow-notify-v2
with:
slack-webhook: ${{ secrets.E2E_REGULAR_SLACK_WEBHOOK }}
neptune-ref: ${{ github.ref }}