Skip to content

Rename module to point to fork #342

Rename module to point to fork

Rename module to point to fork #342

Workflow file for this run

on: [push, pull_request]
name: Interop
jobs:
interop:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: nanasess/setup-chromedriver@v2
with:
# Optional: do not specify to match Chrome's version
chromedriver-version: '124.0.6367.62'
- id: go-mod
uses: pl-strflt/uci/.github/actions/read-go-mod@main
- id: go
env:
GO_MOD_VERSION: ${{ fromJSON(steps.go-mod.outputs.json).Go }}
run: |
MAJOR="${GO_MOD_VERSION%.[0-9]*}"
MINOR="${GO_MOD_VERSION#[0-9]*.}"
echo "version=$MAJOR.$(($MINOR+1)).x" | tee -a $GITHUB_OUTPUT
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.go.outputs.version }}
- name: Build interop server
run: go build -o interopserver interop/main.go
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Python dependencies
run: pip install -r interop/requirements.txt
- name: Run interop tests
run: |
./interopserver &
timeout 120 python interop/interop.py