Skip to content

Make workflow callable #8

Make workflow callable

Make workflow callable #8

Workflow file for this run

name: Tests
on:
push:
pull_request:
workflow_dispatch:
workflow_call:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add .local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: 1.22.0
- name: Run test
run: poetry run python tests/e2e.py