Skip to content

Commit

Permalink
Add a test for nix_extra_config
Browse files Browse the repository at this point in the history
This works by setting a bogus access token for example.com and then grepping for it.
  • Loading branch information
antifuchs committed Feb 28, 2025
1 parent 5d1ae98 commit 704986d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./
with:
extra_nix_config: |
extra-access-tokens = example.com=lix-gha-installer-extra-config-works
- name: Printing some useful info
shell: bash
run: |
Expand All @@ -36,5 +39,6 @@ jobs:
run: |
(
set -eux -o pipefail
nix --extra-experimental-features nix-command config show | grep lix-gha-installer-extra-config-works
echo "pp RUBY_DESCRIPTION" | nix-shell -p ruby --run ruby
)

0 comments on commit 704986d

Please sign in to comment.