Skip to content

Move logic to package:icu4x #1222

Move logic to package:icu4x

Move logic to package:icu4x #1222

Workflow file for this run

name: Unicode Conformance Testing
on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/conformance.yml'
- 'pkgs/intl4x/**'
push:
branches: [ main ]
paths:
- '.github/workflows/conformance.yml'
- 'pkgs/intl4x/**'
schedule:
- cron: '0 0 * * *' # daily
jobs:
run_all:
# disable until fixed upstream
if: false
runs-on: ubuntu-latest
steps:
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: dev
- uses: actions/checkout@7739b9ba2efcda9dde65ad1e3c2dbe65b41dfba7
- uses: actions/checkout@7739b9ba2efcda9dde65ad1e3c2dbe65b41dfba7
with:
repository: unicode-org/conformance
path: 'conformance'
- run: mv pkgs/intl4x/test/tools/conformance_config.json conformance/conformance_config.json
- run: (cd conformance; bash generateDataAndRun.sh conformance_config.json)
- name: Download Reference Exec Summary
if: github.ref != 'refs/heads/main'
continue-on-error: true
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
with:
name: reference_exec_summary
- run: (cd pkgs/intl4x; dart pub get)
if: github.ref != 'refs/heads/main'
- run: dart run pkgs/intl4x/test/tools/conformance_parser.dart --current-path conformance/TEMP_DATA/testReports/exec_summary.json --reference-path reference_exec_summary >> $GITHUB_STEP_SUMMARY
if: github.ref != 'refs/heads/main'
- name: Upload Reference Summary iff on main branch
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: reference_exec_summary
path: conformance/TEMP_DATA/testReports/exec_summary.json