Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
remove schemathesis test
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Apr 4, 2023
1 parent 9532028 commit 1512213
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 91 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ Run tests with coverage:

go test -cover ./...

Run OpenAPI validation tests:

schemathesis run http://localhost:18080/documentation/cicero.yaml --validate-schema=false

Serve the handbook locally on port 3000 and open it:

mdbook serve --open
Expand Down
1 change: 0 additions & 1 deletion devShells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@

commands = [
{package = "dbmate";}
{package = config.packages.schemathesis;}
{package = "nomad";}
{package = "vault";}
{package = "damon";}
Expand Down
62 changes: 12 additions & 50 deletions flake.lock

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

6 changes: 0 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
url = github:input-output-hk/nomad-follower;
inputs.nixpkgs.follows = "nixpkgs";
};
poetry2nix = {
# FIXME try building .#schemathesis when you unpin this
url = github:nix-community/poetry2nix/920ba682377d5c0d87945c5eb6141ab8447ca509;
inputs.nixpkgs.follows = "nixpkgs";
};
spongix = {
# tests fail on latest main
url = github:input-output-hk/spongix/a08bcc8f0bb63e372bf82abe5ad1f001e6b4d566;
Expand Down Expand Up @@ -60,7 +55,6 @@
packages/cicero/evaluators/nix
packages/cicero/handbook.nix
packages/trigger.nix
packages/schemathesis.nix
packages/nomad-driver-podman.nix
packages/go-critic.nix
packages/treefmt-cue.nix
Expand Down
13 changes: 0 additions & 13 deletions packages/cicero/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
in
with lib.systems.inspect.predicates;
ifSystem isLinux {
schemathesis = schemathesisTest;
api = apiTest;
};
};
Expand Down Expand Up @@ -78,18 +77,6 @@
systemd.services.postgresql.serviceConfig.TimeoutStartSec = 300;
};

schemathesisTest = pkgs.nixosTest {
name = "schemathesis";
nodes.main = {
imports = [nixosTestNode];
environment.systemPackages = [perSystem.config.packages.schemathesis];
};
testScript = ''
main.wait_for_unit("cicero")
main.succeed("schemathesis run http://127.0.0.1:8080/documentation/cicero.json --validate-schema=false --hypothesis-suppress-health-check=too_slow")
'';
};

apiTest = let
src = inputs.inclusive.lib.inclusive ../.. [
../../flake.nix
Expand Down
17 changes: 0 additions & 17 deletions packages/schemathesis.nix

This file was deleted.

0 comments on commit 1512213

Please sign in to comment.