Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull recent changes from upstream #2

Merged
merged 52 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
93e98dc
fix: Added support for comma (`,`) as decimal separator in some local…
LukeSavefrogs Nov 12, 2022
65c924b
README: Adds link explaining what BDD means
hoijui Mar 31, 2023
321e6f2
specfiles mulst not depend on IFS values
ko1nksm May 8, 2024
699ebb5
Workaround for bash 5.2
ko1nksm May 9, 2024
eeaafa9
Workaround for OpenBSD >= 7.4
ko1nksm May 10, 2024
7c1f0d4
Update dockerfiles for testing
ko1nksm May 10, 2024
096274a
Workaround for yash >= 2.54
ko1nksm May 10, 2024
ca77d7a
actions: Update test environments
ko1nksm May 10, 2024
872aad2
Update dockerfiles for testing
ko1nksm May 10, 2024
e4bc4ad
actions: remove ubuntu-noble as it is not yet supported
ko1nksm May 10, 2024
b0829ae
circleci: update versions
ko1nksm May 10, 2024
295e0bb
cirrusci: Update Versions
ko1nksm May 10, 2024
b478a0b
Remove testing by Travis CI
ko1nksm May 11, 2024
d0bd7eb
Fix for posh on cygwin
ko1nksm May 11, 2024
b0be62d
Fix for busybox-w32
ko1nksm May 11, 2024
304c130
Update shellcheck
ko1nksm May 11, 2024
b27d3c6
Add .shellcheckrc
ko1nksm May 11, 2024
2f8ceba
actions: Add breebsd-14.yml
ko1nksm May 11, 2024
a01dc0e
actions: Fix freebsd-14.yml
ko1nksm May 11, 2024
cfd0ca9
Add yaml files for FreeBSD
ko1nksm May 11, 2024
a0e5678
actions: Add BSD & Solaris VMs
ko1nksm May 11, 2024
05e05ca
actions: Fix yaml files
ko1nksm May 11, 2024
0b4077f
Fix for /usr/xpg4/bin/sh on Solaris 11.4.42
ko1nksm May 11, 2024
c866016
LANG=C for /usr/xpg4/bin/sh on Solaris 11.4
ko1nksm May 11, 2024
4c0d195
[ci skip] Update README.md
ko1nksm May 11, 2024
e920018
[ci skip] Update README.md
ko1nksm May 11, 2024
a834ed3
[ci skip] Update README.md
ko1nksm May 11, 2024
5ad965b
Merge pull request #297 from hoijui/patch-1
ko1nksm May 12, 2024
61ea29e
Prefer to use POSIX commands internally
ko1nksm May 13, 2024
5d326a7
Fix for shellcheck
ko1nksm May 13, 2024
8200e7c
Revert "Prefer to use POSIX commands internally"
ko1nksm May 13, 2024
088c98a
Revert "Fix for shellcheck"
ko1nksm May 13, 2024
166e4f0
Internal use commands fall back to POSIX version
ko1nksm May 13, 2024
4156d29
Readd test for ubuntu-noble
ko1nksm May 19, 2024
c1313db
Add tests for i18n
ko1nksm May 19, 2024
5543bdc
Fix tests for i18n
ko1nksm May 19, 2024
cee95dc
Merge pull request #281 from LukeSavefrogs/master
ko1nksm May 19, 2024
2c45471
Make debian-i18n-testing capable of testing various shells
ko1nksm May 20, 2024
9b2d596
Improved locale support for some shells
ko1nksm May 20, 2024
6f930df
Improve stability in older ksh93
ko1nksm May 21, 2024
45b02e0
Fix for ksh93u+ on AIX 7.3
ko1nksm May 25, 2024
4266675
cirrusci: Update FreeBSD version
ko1nksm Jun 4, 2024
38eee75
actions: Remove i18n testing in CI
ko1nksm Jun 4, 2024
83c58d6
Fixed file descriptor handling
ko1nksm Jun 5, 2024
8a7e8d2
Rewrite the code to execute the executor
ko1nksm Jun 5, 2024
ed5230a
dockerfiles: Re-add Dockerfile for ksh93r
ko1nksm Jun 5, 2024
8dee4ce
Re-implement shellspec-time for locale support
ko1nksm Jun 3, 2024
2b7216b
Improve stability on ksh93t
ko1nksm Jun 6, 2024
cfb272b
Update dockerfiles
ko1nksm Jun 7, 2024
225e0f0
shellspec-time.sh: Drop bourne shell support
ko1nksm Jun 7, 2024
c209cb4
Do not close FD9 for prechecker
ko1nksm Jun 18, 2024
3670576
circleci: Disable workflows that take long
ko1nksm Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 29 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
version: 2.1

# Define the executor type
# https://circleci.com/docs/using-macos/
executors:
xcode10:
macos11: # macOS Version: 11.4.0
macos:
xcode: 10.3.0 # Mojave 10.14.4
xcode11:
xcode: 12.5.1
macos12: # macOS Version: 12.6
macos:
xcode: 11.7.0 # Catalina 10.15.5
xcode12:
xcode: 14.2.0
macos13: # macOS Version: 13.5.1
macos:
xcode: 12.5.1 # Big Sur 11.6.2
xcode13:
xcode: 15.0.0
macos14: # macOS Version: 14.3.1
macos:
xcode: 13.3.1 # Monterey 12.3.1
xcode: 15.3.0

jobs:
lint:
docker:
- image: koalaman/shellcheck-alpine:v0.8.0
- image: koalaman/shellcheck-alpine:v0.10.0
steps:
- checkout
- run: shellcheck shellspec $(find lib libexec spec examples -name '*.sh')
Expand Down Expand Up @@ -70,22 +71,22 @@ workflows:
requires:
- lint
- report
daily_update_schedule:
jobs:
- lint
- coverage:
requires:
- lint
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
all-tests:
jobs:
- test:
matrix:
parameters:
os: [xcode10, xcode11, xcode12, xcode13]
# daily_update_schedule:
# jobs:
# - lint
# - coverage:
# requires:
# - lint
# triggers:
# - schedule:
# cron: "0 0 * * *"
# filters:
# branches:
# only:
# - master
# all-tests:
# jobs:
# - test:
# matrix:
# parameters:
# os: [macos11, macos12, macos13, macos14]
6 changes: 4 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
env:
FORCE_COLOR: 1

# https://cirrus-ci.org/guide/FreeBSD/
freebsd_task:
freebsd_instance:
matrix:
- image_family: freebsd-12-3
- image_family: freebsd-13-0
- image_family: freebsd-13-3
- image_family: freebsd-14-1
- image_family: freebsd-15-0-snap
install_script: pkg install -y dash bash zsh ksh93 mksh oksh
prepare_script:
- ./shellspec --task fixture:stat:prepare
Expand Down
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ helper/fixture/stat/*
!Makefile
!package.json
!*.sh
!.shellcheckrc
23 changes: 23 additions & 0 deletions .github/workflows/dragonflybsd-6.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: DragonFlyBSD 6.4

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
dragonflybsd-6_4:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/dragonflybsd-vm@v1
with:
usesh: true
release: "6.4.0"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
23 changes: 23 additions & 0 deletions .github/workflows/freebsd-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: FreeBSD 12

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
freebsd-12:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: "12.4"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
23 changes: 23 additions & 0 deletions .github/workflows/freebsd-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: FreeBSD 13

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
freebsd-13:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: "13.3"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
23 changes: 23 additions & 0 deletions .github/workflows/freebsd-14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: FreeBSD 14

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
freebsd-14:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: "14.0"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS Catalina
name: macOS Monterey

on: [push, pull_request]

Expand All @@ -7,7 +7,7 @@ env:

jobs:
macos-catalina:
runs-on: macos-10.15
runs-on: macos-12
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/macos-sonoma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: macOS Sonoma

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
macos-catalina:
runs-on: macos-14
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
- {shell: dash}
- {shell: bash}
- {shell: ksh}
- {shell: zsh}
fail-fast: false
steps:
- uses: actions/checkout@v2
- run: ${{ matrix.shells.shell }} ./shellspec --shell "${{ matrix.shells.shell }}" --task fixture:stat:prepare
- run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
24 changes: 24 additions & 0 deletions .github/workflows/macos-ventura.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: macOS Ventura

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
macos-catalina:
runs-on: macos-13
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
- {shell: dash}
- {shell: bash}
- {shell: ksh}
- {shell: zsh}
fail-fast: false
steps:
- uses: actions/checkout@v2
- run: ${{ matrix.shells.shell }} ./shellspec --shell "${{ matrix.shells.shell }}" --task fixture:stat:prepare
- run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
23 changes: 23 additions & 0 deletions .github/workflows/netbsd-10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NetBSD 10

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
netbsd-10:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/netbsd-vm@v1
with:
usesh: true
release: "10.0"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
23 changes: 23 additions & 0 deletions .github/workflows/netbsd-9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NetBSD 9

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
netbsd-9:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/netbsd-vm@v1
with:
usesh: true
release: "9.3"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
24 changes: 24 additions & 0 deletions .github/workflows/openbsd7.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: OpenBSD 7.3

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
openbsd-7_3:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
- {shell: ksh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
usesh: true
release: "7.3"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
24 changes: 24 additions & 0 deletions .github/workflows/openbsd7.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: OpenBSD 7.4

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
openbsd-7_4:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
- {shell: ksh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
usesh: true
release: "7.4"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
24 changes: 24 additions & 0 deletions .github/workflows/openbsd7.5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: OpenBSD 7.5

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
openbsd-7_5:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
shells:
- {shell: sh}
- {shell: ksh}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
usesh: true
release: "7.5"
run: SH="${{ matrix.shells.shell }}" contrib/various_test.sh
Loading