Skip to content

add arm64

add arm64 #15

Workflow file for this run

name: Run GoTest
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: test-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install System Dependencies
run: sudo apt-get install -y pkg-config gcc libseccomp-dev
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.6
- name: Install dependencies
run: go mod tidy
- name: Compile library
run: bash ./build/build_amd64.sh
- name: Setup Python3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Python dependencies
run: pip install httpx requests jinja2
- name: Run Intgeration tests
run: sudo go test -v github.com/langgenius/dify-sandbox/tests/integration_tests/...
env:
PYTHON_PATH: /usr/bin/python3.10