Skip to content

Commit

Permalink
Another fix II
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed May 29, 2024
1 parent 84e8e53 commit 29aac96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ jobs:
JAVASCRIPT_EXERCISES_KEY: ${{ secrets.JAVASCRIPT_EXERCISES_KEY }}
- run: git checkout $EXERCISES_COMMIT
working-directory: ./javascript-oefeningen
- run: nix develop -c bash -c 'EXERCISE_REPO=${{ github.workspace }}/javascript-oefeningen poetry run pytest -n auto ${{ github.workspace }}/tests/test_integration_javascript.py'
- run: nix run .#devShell -- run-intergation-tests
env:
EXERCISE_REPO: ${{ github.workspace }}/javascript-oefeningen
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
projectDir python overrides propagatedBuildInputs;
doCheck = false;
};
devShell = self.outputs.devShells.${system}.default;
};

devShells = rec {
Expand All @@ -145,6 +146,12 @@
prefix = "$(npm get prefix)";
}
];
commands = [
{
name = "run-intergation-tests";
command = "poetry run pytest -x -n auto tests/test_integration_javascript.py";
}
];
};
types = pkgs.mkShell {
packages = [ python-dev-env pkgs.nodePackages.pyright ];
Expand Down

0 comments on commit 29aac96

Please sign in to comment.