Skip to content

Merge branch 'main' into devenv #12

Merge branch 'main' into devenv

Merge branch 'main' into devenv #12

name: End-to-end TON Test
on:
push:
defaults:
run:
working-directory: devenv
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }}
cancel-in-progress: true
jobs:
e2e:
permissions:
id-token: write
contents: read
runs-on: ubuntu24.04-16cores-64GB
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Install Just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
with:
just-version: '1.40.0'
- name: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.TON_IAM_ROLE }}
aws-region: us-east-1
- name: Authenticate to ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
with:
registry-type: public
- name: Set up Go
uses: actions/setup-go@v6 # v6
with:
cache: true
go-version-file: devenv/go.mod
cache-dependency-path: |
devenv/go.sum
- name: Download Go dependencies
run: |
go mod download
- name: Run CCV environment
run: |
cd cmd/ton && go install . && cd -
ton u env.toml,env-ci.toml
- name: Test Smoke
working-directory: devenv/tests/e2e
run: |
go test -v -run TestE2ESmoke