Skip to content

Commit

Permalink
ci: bump bats: 1.5 -> 1.10
Browse files Browse the repository at this point in the history
on my machine I saw a

  FileNotFoundError: [Errno 2] No such file or directory: 'stargazers-rs.csv.tmp' -> 'stargazers-rs.csv'

during test 1 that I had not seen years ago
and that's also not present in GitHub actions.
I supposed that something about my tmp directory
setup and bats specific way to manage directories
was the culprit. Bumping bats indeed helped.

Bats has made great progress, that's lovely to see.
  • Loading branch information
jgehrcke committed Sep 28, 2023
1 parent 8a51180 commit 994bb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN pip install -r requirements-ci.txt
# Install bats for running cmdline tests. This is the image used when invoking
# `make bats-test`.
RUN git clone https://github.com/bats-core/bats-core.git && cd bats-core && \
git checkout v1.5.0 && ./install.sh /usr/local
git checkout v1.10.0 && ./install.sh /usr/local

RUN mkdir -p /bats-libraries
RUN git clone https://github.com/bats-core/bats-support /bats-libraries/bats-support
Expand Down

0 comments on commit 994bb06

Please sign in to comment.