Skip to content

JavaScript & Swift SDK #31

JavaScript & Swift SDK

JavaScript & Swift SDK #31

Workflow file for this run

name: Pre-Release
on:
push:
branches: ["main-dev"]
pull_request:
branches: ["main-dev"]
env:
BUILD_TYPE: Release
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
PYTHONUTF8: 1
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
jobs:
test_python:
name: Test Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git submodule update --init --recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --no-cache-dir --upgrade pip
pip install -e ".[onnx]"
pip install pytest
- name: Test with PyTest
run: pytest python/scripts/ -s -x -Wd -v