mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-13 17:50:56 +01:00
Add CI test to see if symlinks work
This commit is contained in:
parent
0aeabe9bdf
commit
c2b4d2fe9a
@ -19,7 +19,7 @@ commands:
|
|||||||
command: apk update
|
command: apk update
|
||||||
- run:
|
- run:
|
||||||
name: "Setup: Install build packages."
|
name: "Setup: Install build packages."
|
||||||
command: apk add bash python2 diffutils ca-certificates curl
|
command: apk add git bash python2 diffutils ca-certificates curl
|
||||||
- run:
|
- run:
|
||||||
name: "Setup: Install runtime packages."
|
name: "Setup: Install runtime packages."
|
||||||
command: apk add bat ripgrep ncurses
|
command: apk add bat ripgrep ncurses
|
||||||
@ -69,6 +69,17 @@ jobs:
|
|||||||
name: "Test: Consistency"
|
name: "Test: Consistency"
|
||||||
command: test/run.sh consistency-test
|
command: test/run.sh consistency-test
|
||||||
|
|
||||||
|
test-symlink:
|
||||||
|
executor: linux_alpine
|
||||||
|
steps:
|
||||||
|
- setup
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: "Symlink"
|
||||||
|
command: ln -s "$PWD/src/batgrep.sh" /tmp/batgrep
|
||||||
|
- run:
|
||||||
|
name: "Test: Symlink"
|
||||||
|
command: /tmp/batgrep 'a' >/dev/null
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@ -79,4 +90,6 @@ workflows:
|
|||||||
requires: [build]
|
requires: [build]
|
||||||
- test-consistency:
|
- test-consistency:
|
||||||
requires: [build]
|
requires: [build]
|
||||||
|
- test-symlink:
|
||||||
|
requires: [build]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user