name: e2e-tests
on:
  push:
    branches:
      - master
  pull_request:
jobs:
  run-e2e-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: make -f x.mk e2e-local NODES=2

name: e2e-tests
on:
  push:
    branches:
      - master
  pull_request:
jobs:
  run-e2e-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
      - name: Archive production artifacts # test results are only uploaded if any of the e2e tests fails
        if: ${{ failure() }}
        uses: actions/upload-artifact@v2
        with:
          name: e2e-test-output-${{ github.sha }}-${{ github.run_id }}
          path: ${{ github.workspace }}/bin/artifacts/*

Add workflow to save e2e test artifacts
Add workflow to save e2e test artifacts

This commit uploads e2e testing results to OLM repo
artifect for 90 days for test flak analysis.
