Skip to content

e2e

e2e #255

Workflow file for this run

name: e2e
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "30 4 * * *" # Run every day at arbitrary time (4:30 AM UTC)
push:
branches:
- main
env:
WORKSPACE_NAME: e2e-tests
BUCKET_NAME: ""
NEPTUNE_API_TOKEN: ${{ secrets.E2E_SERVICE_ACCOUNT_API_TOKEN }}
USER_USERNAME: ${{ secrets.E2E_USER_USERNAME }}
ADMIN_USERNAME: ${{ secrets.E2E_ADMIN_USERNAME }}
ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_NEPTUNE_API_TOKEN }}
SERVICE_ACCOUNT_NAME: ${{ secrets.E2E_SERVICE_ACCOUNT_NAME }}
jobs:
e2e:
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.10" ]
os: [ ubuntu, windows ]
include:
- python-version: "3.7.16"
os: macos
- python-version: "3.10"
os: 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 s3 and not integrations"
name: "standard"
e2e-tests-notify:
needs: [ e2e ]
runs-on: ubuntu-latest
if: (success() || failure()) && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
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
with:
slack-webhook: ${{ secrets.E2E_REGULAR_SLACK_WEBHOOK }}