4 Commits

Author SHA1 Message Date
David Briscoe
1b2aeffe00 Allow coveralls failure
Fails like this even though we explicitly pass the token:
```
Upload error: Couldn't find a repository matching this job.
Upload error: Couldn't find a repository matching this job.
Upload error: Couldn't find a repository matching this job.
Error: Process completed with exit code 255.
```
2021-06-23 16:28:47 -07:00
David Briscoe
dbc8d7cf85 Add coveralls repo token to gh action 2021-06-23 16:25:21 -07:00
David Briscoe
6bc8193a5a Run tests on gh actions
Related #60.

Can't figure out what's wrong with travis, but gh actions seem to work.
Migrated travis.yml to runtest.yml.

coveralls fails for me because I don't have the account there, but it's
reporting coverage amounts before it fails to upload.

Tests against multiple versions of lua using leafo's matrix.luaversion
with roughly the same versions as travis.yml.

What's missing
==============

Notification setup from travis is missing. Github sends email
notifications. You can choose:
 * Email
 * Web
 * Send notifications for failed workflows only
There are third-party irc gh actions, but I don't see how you'd do
`on_success: change` in an action.

luacheck was disabled in travis.yml, so it's disabled here too.
2021-06-23 16:21:21 -07:00
David Briscoe
5d303a22e2 Automate ldoc generation
Related #11.

Builds docs to the gh-pages branch on every push to master. Also updates
all dead links to point to live ones (or ones that will be live after
this is merged).

Uses three third-party gh actions:

* leafo/gh-actions-lua@v8
* leafo/gh-actions-luarocks@v4
* peaceiris/actions-gh-pages@v3
 * This receives secrets.GITHUB_TOKEN

Also switches to the new ldoc css and moves doc output folder to
./doc/out which is less confusing when configuring than ./doc/doc.

Once merged, docs will be available on https://excessive.github.io/cpml/

Currently, you can see the built docs on https://idbrii.github.io/love-cpml/
2021-06-23 14:33:46 -07:00