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

test: fix and improve ci #258

Merged
merged 22 commits into from
Nov 7, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v22
Expand Down
48 changes: 17 additions & 31 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
versions.url = "github:holochain/holochain?dir=versions/0_2";
holonix.url = "github:holochain/holochain";
holonix.inputs.versions.follows = "versions";
holonix.inputs.holochain.url = "github:holochain/holochain/holochain-0.2.2";
};

outputs = inputs@{ holonix, ... }:
Expand All @@ -16,7 +15,7 @@
perSystem = { config, system, pkgs, ... }:
{
devShells.default = pkgs.mkShell {
inputsFrom = [ holonix.devShells.${system}.holonix ];
inputsFrom = [ holonix.devShells.${system}.holochainBinaries ];
packages = with pkgs; [
# add further packages from nixpkgs
nodejs
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"test": "vitest run"
},
"dependencies": {
"@holochain/client": "^0.16.1",
"@holochain/tryorama": "0.15.0",
"@holochain/client": "^0.16.3",
"@holochain/tryorama": "0.15.2",
"@msgpack/msgpack": "^2.8.0",
"typescript": "^4.9.4",
"vitest": "^0.28.5"
Expand Down
6 changes: 3 additions & 3 deletions tests/src/mewsfeed/agent_pins/pinner-to-hashes.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { assert, test } from "vitest";
import { assert, it } from "vitest";

import { runScenario, dhtSync } from "@holochain/tryorama";
import { AgentPubKey, HoloHash, fakeActionHash } from "@holochain/client";
import { dhtSync, runScenario } from "@holochain/tryorama";

test("link a Pinner to a Hash", async () => {
it("link a Pinner to a Hash", async () => {
await runScenario(
async (scenario) => {
// Construct proper paths for your app.
Expand Down
Loading
Loading