Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Nov 17, 2023
1 parent b19b900 commit 99626e5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.shellcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,3 +415,19 @@ jobs:
echo 'dev did not fail when already activated' >&2
exit 1
fi
x-already-defined-works:
needs: compile
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
path: /usr/local/bin
name: pkgx
- name: prep
run: chmod u+x /usr/local/bin/pkgx

- run: |
alias x="echo hi"
eval "$(pkgx --shellcode)"
test "$(x)" = hi

0 comments on commit 99626e5

Please sign in to comment.