Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Test PR of luacov-coveralls #251

Closed
wants to merge 1 commit into from
Closed

Conversation

LPGhatguy
Copy link
Contributor

This PR is testing a PR to luacov-coveralls: moteus/luacov-coveralls#21

It should also allow us to drop the need to pass our repo token explicitly.

@@ -28,17 +28,16 @@ jobs:
run: |
luarocks install luafilesystem
luarocks install luacov
luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
git clone https://github.com/alerque/luacov-coveralls.git --branch fix-actions-service-name
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This close is correct, but Luarocks then procedes to use the URL in the spec to download what it wants! I posted a rockspec just for testing this that downloads from the right branch:

Suggested change
git clone https://github.com/alerque/luacov-coveralls.git --branch fix-actions-service-name
wget https://gist.githubusercontent.com/alerque/09ec33446e69f60243b80c28d4b44aec/raw/21574b22ef3c2511a578f74c193622d1fdff2bd2/luacov-coveralls-TEST-0.rockspec

@@ -28,17 +28,16 @@ jobs:
run: |
luarocks install luafilesystem
luarocks install luacov
luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
git clone https://github.com/alerque/luacov-coveralls.git --branch fix-actions-service-name
luarocks install ./luacov-coveralls/rockspecs/luacov-coveralls-scm-0.rockspec
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...and use the rockspec we just fetched:

Suggested change
luarocks install ./luacov-coveralls/rockspecs/luacov-coveralls-scm-0.rockspec
luarocks install ./luacov-coveralls-TEST-0.rockspec

@alerque
Copy link

alerque commented Jan 16, 2020

I think I've confirmed via another project that changes I proposed to work correctly.

@LPGhatguy
Copy link
Contributor Author

Cool, thanks for going through and fixing this! Going to close this PR then.

@LPGhatguy LPGhatguy closed this Jan 16, 2020
@LPGhatguy LPGhatguy deleted the test-new-luacov-coveralls branch January 16, 2020 18:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants