Skip to content

Commit

Permalink
Added neptune-fetcher integrations tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky committed Apr 15, 2024
1 parent 5595eb7 commit c9d0fe6
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -740,3 +740,58 @@ jobs:
with:
slack-webhook: ${{ secrets.E2E_INTEGRATIONS_SLACK_WEBHOOK }}
job-status: ${{ needs.airflow.result }}

fetcher:
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.10" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
name: 'fetcher (${{ 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: Install fetcher
uses: neptune-ai/neptune-fetcher/.github/actions/install-package@rj/working-directory
with:
python-version: ${{ matrix.python-version }}
working_directory: neptune-fetcher

- name: Install package
uses: ./.github/actions/install-package
with:
python-version: ${{ matrix.python-version }}
os: ${{ matrix.os }}

- name: List dependencies
run: |
pip list
shell: bash

- name: Test integration
uses: neptune-ai/neptune-fetcher/.github/actions/test-integration@rj/working-directory
with:
working_directory: neptune-fetcher

fetcher-notify:
needs: [ fetcher ]
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/job-notify
with:
slack-webhook: ${{ secrets.E2E_INTEGRATIONS_SLACK_WEBHOOK }}
job-status: ${{ needs.fetcher.result }}

0 comments on commit c9d0fe6

Please sign in to comment.