Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
85 changes: 85 additions & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Conformance

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
fixtures:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: yarn

- name: Enable Corepack
run: corepack enable

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Validate Shared Fixtures
run: yarn test:fixtures

ts:
needs: fixtures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: yarn

- name: Enable Corepack
run: corepack enable

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Run TypeScript Tests
run: yarn test --runInBand

python:
needs: fixtures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Test Dependencies
run: python -m pip install pytest

- name: Run Python Conformance Tests
env:
PYTHONPATH: ${{ github.workspace }}/python
run: pytest python/tests/conformance -q

php:
needs: fixtures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
tools: composer

- name: Install Dependencies
working-directory: php
run: composer install --no-interaction --no-progress

- name: Run PHP Tests
working-directory: php
run: ./vendor/bin/phpunit
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"test:fixtures": "node scripts/validate-conformance-fixtures.mjs",
"test": "jest"
},
"repository": {
Expand Down
60 changes: 0 additions & 60 deletions php/tests/CalendarTest.php

This file was deleted.

27 changes: 0 additions & 27 deletions php/tests/CharacterCodesToAsciiTest.php

This file was deleted.

55 changes: 0 additions & 55 deletions php/tests/CharacterCodesToStringTest.php

This file was deleted.

Loading