diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee9f3f3dd..04c462b89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | diff --git a/.github/workflows/poify.yml b/.github/workflows/poify.yml index 0e0181bc6..3d00ada08 100644 --- a/.github/workflows/poify.yml +++ b/.github/workflows/poify.yml @@ -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 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4bae03f6a..991a1c0ca 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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