Skip to content

Commit

Permalink
only commit poify result on master, add poify test to PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Apr 19, 2024
1 parent ec4a31b commit bc1732c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
# - name: Run tests
# run: ./extra/tests.sh

- uses: devopsx/gha-ubuntu-i386-fix@master
- name: Install wine
uses: devopsx/gha-ubuntu-i386-fix@master

- name: Install packages
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/poify.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Poify/Unpoify
on:
push:
paths:
- "data/text/**" # tra_dir
pull_request:
branches:
- master
paths:
- "data/text/**"

jobs:
build:
msg2po:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ on:
pull_request:

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: ShellCheck
uses: ludeeus/action-shellcheck@master

- name: Run tests
run: ./extra/tests.sh

- name: Poify/Unpoify test
uses: BGforgeNet/msg2po@master
with:
poify: true
unpoify: true
single_commit: false
poify_commit: false
unpoify_commit: false
dir2msgstr: true
dir2msgstr_commit: false

0 comments on commit bc1732c

Please sign in to comment.