Skip to content

Add regen tests

Add regen tests #60

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: rustfmt
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test
- name: Regen
run: python scripts/unicode.py && diff tables.rs src/tables.rs
regen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Verify regenerated files
run: ./scripts/unicode.py && diff tables.rs src/tables.rs