Skip to content

Commit

Permalink
test: do not use pseudo-tty
Browse files Browse the repository at this point in the history
  • Loading branch information
king-p3nguin committed Jan 28, 2024
1 parent a4ff27c commit b223ded
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Create docker image
- name: Create docker image and run container
run: |
docker build --build-arg VERSION=${{ matrix.version }} -t "sqids-bash/test:bash-${{ matrix.version }}" .
docker run -it "sqids-bash/test:bash-${{ matrix.version }}"
docker run -i "sqids-bash/test:bash-${{ matrix.version }}"
- name: Run tests
run: bats -T ./tests
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixed

- Fix encoding numbers with leading zeros throws an error. (#6)
- Works with bash version 3.2 or higher (#7)

## [1.0.0] - 2024-01-28

Expand Down
2 changes: 1 addition & 1 deletion src/sqids
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ EOS
}

version() {
echo "sqids-bash version 1.0.0"
echo "sqids-bash version 1.0.1"
exit 0
}

Expand Down

0 comments on commit b223ded

Please sign in to comment.