-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (48 loc) · 1.39 KB
/
tests-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Run e2e tests
on:
schedule:
- cron: '0 8 * * *' # Run at 8:00 daily
workflow_dispatch:
push:
branches:
- main
pull_request: # Don't run e2e tests on PRs that don't modify source code
paths:
- 'src/**'
- 'tests/**'
jobs:
test:
runs-on: arc-runner-set
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev_requirements.txt
- name: Run tests
env:
NEPTUNE_WORKSPACE: ${{ secrets.E2E_WORKSPACE }}
NEPTUNE_E2E_PROJECT: ${{ secrets.E2E_PROJECT }}
NEPTUNE_API_TOKEN: ${{ secrets.E2E_API_TOKEN }}
NEPTUNE_E2E_CUSTOM_RUN_ID: ${{ vars.E2E_CUSTOM_RUN_ID }}
run: bash .github/scripts/run-e2e-tests.sh
- name: Upload test reports
uses: actions/upload-artifact@v4
if: always()
with:
name: test-artifacts
path: "./test-results/"
- name: Report
uses: mikepenz/action-junit-report@v5
if: always()
with:
report_paths: "./test-results/test-e2e*.xml"
update_check: true
include_passed: true
annotate_notice: true
job_name: "e2e tests"