Skip to content

Commit aa47b25

Browse files
committed
chore: add test for extra-nix-config option
tested using a low-risk config option
1 parent 65129fd commit aa47b25

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,17 @@ jobs:
9494
sha256-checksum: '169836de22c41a1c68ac5a43e0514d4021137647c7c08ee8bd921faa430ee286'
9595
project-path: 'testdata'
9696
disable-nix-access-token: "${{ github.ref != 'refs/heads/main' }}"
97+
98+
test-action-with-extra-nix-config:
99+
runs-on: ubuntu-latest
100+
steps:
101+
- uses: actions/checkout@v4
102+
- name: Install devbox with extra nix config "user-agent-suffix = test-suffix"
103+
uses: ./
104+
with:
105+
devbox-version: 0.13.6
106+
project-path: 'testdata'
107+
extra-nix-config: user-agent-suffix = test-suffix
108+
- name: Check nix user-agent-suffix config
109+
run: |
110+
[[ "$(nix config show user-agent-suffix)" == "test-suffix" ]]

0 commit comments

Comments
 (0)