[TH] Add language Thai (#2412) #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
permissions: | |
contents: read | |
concurrency: | |
# yamllint disable-line rule:line-length | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pip" | |
- run: script/setup | |
- run: python3 -m script.intentfest add_language test_add_language_generates_valid_data "CI Added Language" | |
- name: Register intentfest problem matcher | |
run: | | |
echo "::add-matcher::.github/workflows/matchers/intentfest.json" | |
- run: script/lint | |
- run: script/test | |
- run: python3 -m script.intentfest parse --language en --sentence 'turn on the lights in the kitchen' | |
- run: python3 -m script.intentfest codeowners --check |