mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-11-08 00:34:22 +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
|
||||
- run:
|
||||
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:
|
||||
name: "Setup: Install runtime packages."
|
||||
command: apk add bat ripgrep ncurses
|
||||
@ -69,6 +69,17 @@ jobs:
|
||||
name: "Test: Consistency"
|
||||
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:
|
||||
version: 2
|
||||
@ -79,4 +90,6 @@ workflows:
|
||||
requires: [build]
|
||||
- test-consistency:
|
||||
requires: [build]
|
||||
- test-symlink:
|
||||
requires: [build]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user