mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
ci: remove literalExpression step
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
765ceb93d1
commit
cc8896c321
1 changed files with 18 additions and 23 deletions
41
.github/workflows/test.yml
vendored
41
.github/workflows/test.yml
vendored
|
|
@ -11,26 +11,21 @@ jobs:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v31
|
- uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
- run: |
|
- run: nix-build --show-trace -A docs.jsonModuleMaintainers
|
||||||
if grep -R --exclude stdlib-extended.nix literalExample modules ; then
|
- run: nix fmt -- --ci
|
||||||
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
|
- run: nix-shell --show-trace . -A install
|
||||||
exit 1
|
- run: yes | home-manager -I home-manager=. uninstall
|
||||||
fi
|
- name: Run tests
|
||||||
- run: nix-build --show-trace -A docs.jsonModuleMaintainers
|
run: nix-build -j auto --show-trace --arg enableBig false --pure --option allow-import-from-derivation false tests -A build.all
|
||||||
- run: nix fmt -- --ci
|
env:
|
||||||
- run: nix-shell --show-trace . -A install
|
GC_INITIAL_HEAP_SIZE: 4294967296
|
||||||
- run: yes | home-manager -I home-manager=. uninstall
|
- name: Run tests (with IFD)
|
||||||
- name: Run tests
|
run: nix-build -j auto --show-trace --arg enableBig false --pure --arg enableLegacyIfd true tests -A build.all
|
||||||
run: nix-build -j auto --show-trace --arg enableBig false --pure --option allow-import-from-derivation false tests -A build.all
|
env:
|
||||||
env:
|
GC_INITIAL_HEAP_SIZE: 4294967296
|
||||||
GC_INITIAL_HEAP_SIZE: 4294967296
|
|
||||||
- name: Run tests (with IFD)
|
|
||||||
run: nix-build -j auto --show-trace --arg enableBig false --pure --arg enableLegacyIfd true tests -A build.all
|
|
||||||
env:
|
|
||||||
GC_INITIAL_HEAP_SIZE: 4294967296
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue