Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 Unit tests & dumper module #159

Merged
merged 30 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
16a8a35
🚧 Create assert functions
aksiome Feb 29, 2024
7b2a0b9
🔥 Remove `bs.core` module
aksiome Feb 29, 2024
1117725
🔥 Remove `bs.mapedit` module
aksiome Feb 29, 2024
12ad582
🔥 Remove old bs/menu
aksiome Feb 29, 2024
d42b13f
🔥 Remove old examples
aksiome Feb 29, 2024
8df812a
💡 Update copyright notice
aksiome Mar 2, 2024
3eed053
🐛🎨 Fix system breaking with offseted blocks
aksiome Mar 3, 2024
545d93d
✨ Add new var dumper module
aksiome Mar 3, 2024
8c8341d
🔥 Remove test module to use packtest instead
aksiome Mar 8, 2024
a378018
👷 Add packtest workflow
aksiome Mar 8, 2024
6b175a9
✅ Add tests for the xp module
aksiome Mar 8, 2024
91658c1
📝 Add special thanks to the dump module
aksiome Mar 8, 2024
17a7dbf
📝 Add dump documentation
aksiome Mar 9, 2024
ee80e43
📝 Small documentation changes
aksiome Mar 9, 2024
fbc6cf3
🔥 Remove glib manager actions
aksiome Mar 10, 2024
82ae7ec
🧪 Test the packtest action with a failing test
aksiome Mar 10, 2024
e37db04
Revert "🧪 Test the packtest action with a failing test"
aksiome Mar 10, 2024
2681e68
🐛 Fix giscus theme switch
aksiome Mar 10, 2024
af1f59b
✅ Add tests for the view module
aksiome Mar 10, 2024
39d9c79
✅ Add tests for the time module
aksiome Mar 11, 2024
8ba1a36
⚡️ Remove entity custom name
aksiome Mar 11, 2024
ce9c4ee
🎨 Simplify raycast module
aksiome Mar 12, 2024
9fbba25
⚡️ Improve view module
aksiome Mar 12, 2024
b183e31
📝 Add worldborder warning
aksiome Mar 12, 2024
68b54a0
✅ Add tests for the schedule module
aksiome Mar 14, 2024
0bb8dac
♻️ Enforce new convention for forceloaded chunks
aksiome Mar 14, 2024
24d3590
Merge branch 'master' into module-test
aksiome Mar 16, 2024
f6d86e6
♻️ Refactor block generator
aksiome Mar 17, 2024
7ee5185
📝✏️ Fix documentation mistakes
aksiome Mar 17, 2024
8b963da
✅ Add tests for the vector module
aksiome Mar 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 0 additions & 41 deletions .github/workflows/deploy_on_glib_manager.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/deploy_on_glib_manager_master.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 🧪 Test datapacks
on: [push, pull_request, workflow_dispatch]

env:
FABRIC_SERVER: https://meta.fabricmc.net/v2/versions/loader/1.20.4/0.15.7/1.0.0/server/jar
FABRIC_API: https://cdn.modrinth.com/data/P7dR8mSH/versions/9p2sguD7/fabric-api-0.96.4%2B1.20.4.jar
PACKTEST: https://cdn.modrinth.com/data/XsKUhp45/versions/18smpIeE/packtest-1.6-mc1.20.4.jar

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Download and prepare files
run: |
curl -o server.jar $FABRIC_SERVER
mkdir mods
curl -o mods/fabric-api.jar $FABRIC_API
curl -o mods/packtest.jar $PACKTEST
mkdir -p world
cp -r datapacks world/datapacks
- name: Run tests
run: |
java -Xmx2G -Dpacktest.auto -Dpacktest.auto.annotations -jar server.jar nogui
Binary file modified assets/command_storage_bs.dat
Binary file not shown.

This file was deleted.

35 changes: 0 additions & 35 deletions datapacks/Bookshelf Dev/data/bs.core/functions/__load__.mcfunction

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions datapacks/Bookshelf Dev/data/bs.core/functions/__tick__.mcfunction

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading