Skip to content

Commit

Permalink
Fix tests for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1nksm committed May 19, 2024
1 parent c1313db commit 5543bdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/i18n-testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: i18n test
name: i18n

on: [push, pull_request]

Expand All @@ -7,7 +7,7 @@ env:
LC_ALL: de_DE.utf8

jobs:
ubuntu-focal:
i18n:
runs-on: ubuntu-24.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
Expand All @@ -25,5 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install -y locales-all ${{ matrix.shells.package }}
- run: sudo rm -f /bin/time /usr/bin/time
- run: sudo ${{ matrix.shells.shell }} ./shellspec --task fixture:stat:prepare
- run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
2 changes: 2 additions & 0 deletions contrib/various_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -eu

locale

: "${SH:=sh}"

# Workaround for GitHub Actions (SIGPIPE)
Expand Down

0 comments on commit 5543bdc

Please sign in to comment.