-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (27 loc) · 1.12 KB
/
e2e.yml
File metadata and controls
32 lines (27 loc) · 1.12 KB
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
name: End-to-end testing
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-atoma-e2e-tests:
name: Run Atoma e2e tests
if: github.event_name == 'workflow_dispatch'
runs-on: ${{ fromJSON(github.repository == 'atoma-network/atoma-node' && '["self-hosted", "linux", "x64", "4xlarge"]' || '"ubuntu-latest"') }}
strategy:
matrix:
flavour: [chromium, native]
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build ${{ matrix.flavour }} image
run: ./scripts/build-e2e-image.sh
env:
AWS_BUCKET_NAME: ${{ vars.S3_ATOMA_BUILD_CACHE_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ vars.S3_ATOMA_BUILD_CACHE_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_ATOMA_BUILD_CACHE_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.S3_ATOMA_BUILD_CACHE_AWS_REGION }}
FLAVOUR: ${{ matrix.flavour }}
- name: Run ${{ matrix.flavour }} tests
uses: atoma-network/atoma-testground/.github/actions/run-chat-completion-request@master