Skip to content

build(deps): bump github.com/quic-go/quic-go from 0.59.0 to 0.60.0 in /golang #113

build(deps): bump github.com/quic-go/quic-go from 0.59.0 to 0.60.0 in /golang

build(deps): bump github.com/quic-go/quic-go from 0.59.0 to 0.60.0 in /golang #113

Workflow file for this run

name: Live Tests
concurrency:
group: live-tests-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
PYTHON_PATH: ./
jobs:
live-tests:
name: Live Tests (Python ${{ matrix.python }})
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v6
- name: Setup CycleTLS (Go build)
uses: ./.github/actions/setup-cycletls
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
enable-cache: true
- name: Install dependencies
run: uv sync --locked --all-extras --dev
- name: Checkout Danny-Dasilva/tlsfingerprint.com
uses: actions/checkout@v4
with:
repository: Danny-Dasilva/tlsfingerprint.com
ref: master
path: .tlsfingerprint-server
- name: Generate TLS certificates and config
working-directory: .tlsfingerprint-server
run: |
mkdir -p certs
openssl req -x509 -newkey rsa:4096 \
-keyout certs/key.pem \
-out certs/chain.pem \
-sha256 -days 365 -nodes \
-subj "/CN=localhost" \
-addext "subjectAltName=IP:127.0.0.1,DNS:localhost"
# Disable mongo logging and clear mongo_url so the server doesn't try to connect to a DB.
jq '.log_to_db = false | .mongo_url = "" | .device = ""' \
config.example.json > config.json
# Combine system CAs with the test CA so the Go transport (and any tooling)
# trusts our self-signed cert via SSL_CERT_FILE.
cat /etc/ssl/certs/ca-certificates.crt certs/chain.pem > /tmp/combined-test-cas.crt
- name: Build and start tlsfingerprint.com server
working-directory: .tlsfingerprint-server
run: |
docker compose up -d --build
echo "Waiting for tlsfingerprint.com server to become ready..."
if ! timeout 90 bash -c 'until curl -sk --max-time 3 https://localhost/api/clean -o /dev/null; do sleep 2; done'; then
echo "Server did not become ready in time. Container logs:"
docker compose logs
exit 1
fi
echo "tlsfingerprint.com server is ready."
- name: Run live tests
env:
TLSFP_URL: https://localhost
SSL_CERT_FILE: /tmp/combined-test-cas.crt
run: uv run pytest -v --color=yes --reruns=3 -m "live and not blocking" tests/
- name: Tear down tlsfingerprint.com server
if: always()
working-directory: .tlsfingerprint-server
run: docker compose down -v || true