Skip to content
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
17 changes: 17 additions & 0 deletions .github/workflows/jupyter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: "Jupyter notebook"
"on":
push:
paths:
- "**.ipynb"
pull_request:
paths:
- "**.ipynb"
jobs:
lint-notebooks:
runs-on: "ubuntu-latest"
steps:
- name: "Check out code"
uses: "actions/checkout@v2"
- name: "Ensure Clean Jupyter Notebooks"
uses: "ResearchSoftwareActions/EnsureCleanNotebooksAction@1.1"
59,786 changes: 18 additions & 59,768 deletions Notebook.ipynb

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# netcode-lag-simulator

All of the code is [here](src/main/java/com/hopskipnfall).
Open the Kotlin Jupyter notebook [Notebook.ipynb](Notebook.ipynb)

To run the code, run:
Before committing changes, make sure to clean the notebook outputs using the command

```sh
./gradlew run
```shell
jupyter nbconvert --clear-output --inplace *.ipynb
```

To format the code run:
or by using the "clean" button in Intellij IDEA.

When making changes to the code, use the formatter with:

```sh
./gradlew spotlessApply
Expand Down
Loading