Skip to content

Reorganize conformance tests #248

Reorganize conformance tests

Reorganize conformance tests #248

Workflow file for this run

name: Cloudflare Conformance Tests
on:
schedule:
- cron: "0 0 * * *"
push:
tags: ["v*"]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
if: github.event_name != 'pull_request' || startsWith(github.event.pull_request.title, 'Release ')
runs-on: conformance
steps:
- uses: actions/checkout@v4
- name: cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-connect-conformance-ci-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-connect-conformance-ci-
- name: build
run: make .tmp/build/connect-conformance
- name: test
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_WORKERS_SERVER_HOST: ${{ vars.CLOUDFLARE_WORKERS_SERVER_HOST}}
CLOUDFLARE_WORKERS_CLIENT_HOST: ${{ vars.CLOUDFLARE_WORKERS_CLIENT_HOST}}
CLOUDFLARE_WORKERS_REFERENCE_SERVER_HOST: ${{ vars.CLOUDFLARE_WORKERS_REFERENCE_SERVER_HOST}}
CLOUDFLARE_WORKERS_REFERENCE_SERVER_KEY: ${{ vars.CLOUDFALRE_WORKERS_REFERENCE_SERVER_KEY }}
CLOUDFLARE_WORKERS_REFERENCE_SERVER_CERT: ${{ vars.CLOUDFALRE_WORKERS_REFERENCE_SERVER_CERT }}
TEMP: .tmp/build
run: make testcloudflareconformance