Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename haumea tests #92

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nix Flake Unit Tests
name: Nix Flake Eval Tests

on:
push:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
experimental-features = nix-command flakes

- name: Run Nix Flake Unit Tests
- name: Run Nix Flake Eval Tests
run: |
echo 'Flake Unit Tests'
nix eval .#unitTests --show-trace --print-build-logs --verbose
echo 'Flake Eval Tests'
nix eval .#evalTests --show-trace --print-build-logs --verbose
2 changes: 1 addition & 1 deletion outputs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ otherwise, it will be difficult to manage and maintain them.
Unit Tests for all flake outputs(only NixOS systems currently).

```bash
nix eval .#unitTests --show-trace --print-build-logs --verbose
nix eval .#evalTests --show-trace --print-build-logs --verbose
```

## Overview
Expand Down
2 changes: 1 addition & 1 deletion outputs/aarch64-linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ in
inherit data; # for debugging purposes

# NixOS's unit tests.
unitTests = haumea.lib.loadEvalTests {
evalTests = haumea.lib.loadEvalTests {
src = ./tests;
inputs = args // {inherit outputs;};
};
Expand Down
2 changes: 1 addition & 1 deletion outputs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ in {
debugAttrs = {inherit nixosSystems darwinSystems allSystems allSystemNames;};

# Unit Tests for all NixOS systems.
unitTests = lib.lists.all (it: it.unitTests == {}) nixosSystemValues;
evalTests = lib.lists.all (it: it.evalTests == {}) nixosSystemValues;

# NixOS Hosts
nixosConfigurations =
Expand Down
2 changes: 1 addition & 1 deletion outputs/riscv64-linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ in
inherit data; # for debugging purposes

# NixOS's unit tests.
unitTests = haumea.lib.loadEvalTests {
evalTests = haumea.lib.loadEvalTests {
src = ./tests;
inputs = args // {inherit outputs;};
};
Expand Down
2 changes: 1 addition & 1 deletion outputs/x86_64-linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ in
inherit data; # for debugging purposes

# NixOS's unit tests.
unitTests = haumea.lib.loadEvalTests {
evalTests = haumea.lib.loadEvalTests {
src = ./tests;
inputs = args // {inherit outputs;};
};
Expand Down