diff options
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r-- | .github/workflows/test.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 306f21cf..77b09f43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -16,9 +16,9 @@ jobs: | |||
16 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest |
17 | steps: | 17 | steps: |
18 | - name: Checkout | 18 | - name: Checkout |
19 | uses: actions/checkout@v3 | 19 | uses: actions/checkout@v4 |
20 | - name: Codespell | 20 | - name: Codespell |
21 | uses: codespell-project/actions-codespell@master | 21 | uses: codespell-project/actions-codespell@v2 |
22 | with: | 22 | with: |
23 | skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" | 23 | skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" |
24 | ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners | 24 | ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners |
@@ -31,7 +31,7 @@ jobs: | |||
31 | # runs-on: ubuntu-latest | 31 | # runs-on: ubuntu-latest |
32 | # steps: | 32 | # steps: |
33 | # - name: Checkout | 33 | # - name: Checkout |
34 | # uses: actions/checkout@v3 | 34 | # uses: actions/checkout@v4 |
35 | # - name: Lint Code Base | 35 | # - name: Lint Code Base |
36 | # uses: github/super-linter@v5.0.0 | 36 | # uses: github/super-linter@v5.0.0 |
37 | # env: | 37 | # env: |
@@ -57,7 +57,7 @@ jobs: | |||
57 | #... | 57 | #... |
58 | steps: | 58 | steps: |
59 | - name: Git clone repository | 59 | - name: Git clone repository |
60 | uses: actions/checkout@v3 | 60 | uses: actions/checkout@v4 |
61 | #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate | 61 | #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate |
62 | # uses: mxschmitt/action-tmate@v3 | 62 | # uses: mxschmitt/action-tmate@v3 |
63 | - name: Run the tests on ${{ matrix.distro }} | 63 | - name: Run the tests on ${{ matrix.distro }} |
@@ -74,6 +74,10 @@ jobs: | |||
74 | /bin/sh -c '${{ matrix.prepare }} && \ | 74 | /bin/sh -c '${{ matrix.prepare }} && \ |
75 | tools/setup && \ | 75 | tools/setup && \ |
76 | ./configure --enable-libtap --with-ipv6=no && \ | 76 | ./configure --enable-libtap --with-ipv6=no && \ |
77 | set -x && \ | ||
78 | tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \ | ||
79 | cd po && make update-po && cd .. && \ | ||
80 | diff -Nur $tmp_dir/po/*.po po/*.po | tee -a /tmp/po.diff && diff -Nur $tmp_dir/po/*.pot po/*.pot | tee -a /tmp/po.diff && if [ $(wc -l /tmp/po.diff | cut -f 1 -d" ") -gt 0 ]; then echo "Error: Translations needs to be updated with make update-po!" && exit 1; fi && \ | ||
77 | make && \ | 81 | make && \ |
78 | make test' | 82 | make test' |
79 | docker container prune -f | 83 | docker container prune -f |