Skip to content

Commit

Permalink
Merge pull request #526 from dodona-edu/feature/better-validation
Browse files Browse the repository at this point in the history
Improve jsonschema checking
  • Loading branch information
niknetniko authored Jun 14, 2024
2 parents 55f5bb1 + cde4f73 commit 8f71129
Show file tree
Hide file tree
Showing 61 changed files with 2,229 additions and 1,260 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: echo "${GITHUB_WORKSPACE}" >> $GITHUB_PATH
- run: nix develop .#types -c pyright ./tested
- run: nix develop .#types -c pyright ./tested ./tests
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Integration tests
on: [ pull_request ]

env:
EXERCISES_COMMIT: c3785b61574885564499ddf14943dfc7c6fe1aa6
EXERCISES_COMMIT: 31ef0f174efaeba2a37415115e7fd0332573d9b2

jobs:
# Runs the test suite in a slightly modified Docker image used by Dodona.
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ line-length = 88
extend-exclude="tests/exercises/*"

[tool.pytest.ini_options]
markers = [
"haskell", # Run the haskell tests
"linter", # Run linter tests
"slow", # Slow tests
]
addopts = "--ignore=tests/test_integration_javascript.py"

[tool.pyright]
exclude = ["tests/exercises/", "tests/snapshots/", "tests/descriptions/"]

[tool.poetry]
name = "tested"
version = "1.0.0"
Expand Down
Loading

0 comments on commit 8f71129

Please sign in to comment.