Skip to content

Reduce shared agent instructions #239

Reduce shared agent instructions

Reduce shared agent instructions #239

name: Continuous Integration
on:
- push
- pull_request
jobs:
continuous-integration:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Configure PythonKit
shell: bash
run: |
python_library="$(find -L "$pythonLocation" \( -name 'libpython3.13*.dylib' -o -name 'libpython3.13*.so' \) -print -quit)"
test -n "$python_library"
echo "PYTHON_LIBRARY=$python_library" >> "$GITHUB_ENV"
- name: Test
run: swift test --enable-test-discovery
if: runner.os != 'Windows'
env:
PYTHON_LOADER_LOGGING: TRUE