Skip to content

e2e

e2e #111

Workflow file for this run

name: e2e
on:
push:
branches: [main]
schedule:
# Run daily at 06:00 UTC
- cron: "0 6 * * *"
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Start SSH SOCKS proxy
run: |
mkdir -p ~/.ssh
echo "${{ secrets.VPS_SSH_KEY }}" > ~/.ssh/proxy_key
chmod 600 ~/.ssh/proxy_key
ssh -o StrictHostKeyChecking=no -D 1080 -f -N -i ~/.ssh/proxy_key clawdbot@46.225.30.1
- name: Run E2E tests
env:
GARMIN_EMAIL: ${{ secrets.GARMIN_EMAIL }}
GARMIN_PASSWORD: ${{ secrets.GARMIN_PASSWORD }}
HTTP_PROXY: socks5://localhost:1080
HTTPS_PROXY: socks5://localhost:1080
run: make test-e2e