Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
ci: create rime workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
a01sa01to committed Apr 24, 2024
1 parent 640d84e commit f407df3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/rime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Rime
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
directories=$(ls -d */)
for directory in $directories; do
dirname=$(basename $directory)
if [[ $dirname == "_common" ]]; then
continue
fi
echo ::group::$dirname
rime test $dirname
echo ::endgroup::
done

0 comments on commit f407df3

Please sign in to comment.