Skip to content

Add Node reference implementation parity testing in CI #108

Add Node reference implementation parity testing in CI

Add Node reference implementation parity testing in CI #108

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
python:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install tsx
run: npm install -g tsx
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
- name: Install Poetry manager
run: pip install --upgrade poetry
- name: Install Dependencies
run: poetry install
- name: Test with pytest
run: |
poetry run pytest --cov=transloadit tests
env:
TEST_NODE_PARITY: 1