forked from mt-mods/technic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Coverage and mineunit configuration * Add .luacov config and install cluacov * Add coverage badge * Update coverage badge label * Use mineunit-actions * Fix working-directory * Remove mineunit from submodules Co-authored-by: SX <[email protected]>
- Loading branch information
Showing
8 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,16 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: apt | ||
run: sudo apt-get install -y luarocks | ||
- name: busted install | ||
run: luarocks install --local busted | ||
- name: busted run | ||
working-directory: ./technic | ||
run: $HOME/.luarocks/bin/busted | ||
|
||
- id: mineunit | ||
uses: mt-mods/mineunit-actions@master | ||
with: | ||
working-directory: ./technic | ||
badge-label: Test coverage | ||
- uses: RubbaBoy/[email protected] | ||
with: | ||
NAME: "${{ steps.mineunit.outputs.badge-name }}" | ||
LABEL: "${{ steps.mineunit.outputs.badge-label }}" | ||
STATUS: "${{ steps.mineunit.outputs.badge-status }}" | ||
COLOR: "${{ steps.mineunit.outputs.badge-color }}" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "technic/spec/fixtures/mineunit"] | ||
path = technic/spec/fixtures/mineunit | ||
url = [email protected]:mt-mods/mineunit.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mineunit
deleted from
8a6486
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
modname = "technic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters