Skip to content

Commit

Permalink
chore: move tests/test_project -> tests/basic
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 7, 2024
1 parent 262bb30 commit 65186eb
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
run: deno task cli:install

- name: Check Formatting
run: cd tests/test_project/ && opengb format --check
run: cd tests/basic/ && opengb format --check

- name: Lint
run: cd tests/test_project/ && opengb lint
run: cd tests/basic/ && opengb lint

- name: Generate DB Migrations
run: cd tests/test_project/ && opengb db dev
run: cd tests/basic/ && opengb db dev

- name: Run Tests
run: cd tests/test_project/ && opengb test
run: cd tests/basic/ && opengb test
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"tasks": {
// Runs the CLI
"cli:run": "deno task artifacts:build:all && deno run -A --check src/cli/main.ts --path tests/test_project",
"cli:run": "deno task artifacts:build:all && deno run -A --check src/cli/main.ts --path tests/basic",

// Compiles the CLI to a binary
"cli:compile": "deno task artifacts:build:all && deno compile --check --allow-net --allow-read --allow-env --allow-run --allow-write --output _gen/cli src/cli/main.ts",
Expand Down
4 changes: 3 additions & 1 deletion docs/KNOWN_ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

[typescript-json-schema#547](https://github.com/YousefED/typescript-json-schema/issues/547)

Will be fixed with [#15](https://github.com/rivet-gg/open-game-services-engine/issues/15).

## Moving modules folder breaks imports

```
error: Module not found "file:///path/to/src/runtime/mod.ts".
at file:///path/to/tests/test_project/_gen/entrypoint.ts:3:25
at file:///path/to/tests/basic/_gen/entrypoint.ts:3:25
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 65186eb

Please sign in to comment.