removed CPML workflows (completely broken for this)

This commit is contained in:
FatalErr42O 2023-09-09 11:48:53 -07:00
parent be860e7562
commit 68c210e60d
2 changed files with 0 additions and 76 deletions

View File

@ -1,31 +0,0 @@
# Based on https://gist.github.com/domenic/ec8b0fc8ab45f39403dd
name: Documentation
on:
pull_request: # Build on pull requests to ensure they don't break docs.
branches:
- master
push: # We'll only push new docs when master is updated (see below).
branches:
- master
jobs:
build:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Lua
uses: leafo/gh-actions-lua@v8
with:
luaVersion: 5.4
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4
- name: Setup and run ldoc
run: bash ./doc/install_and_build_docs
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/out

View File

@ -1,45 +0,0 @@
name: Validate Code
on:
pull_request:
branches:
- master
- refactor
push:
branches:
- master
- refactor
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
luaVersion: ["5.1.5", "luajit-2.0.5", "luajit-2.1.0-beta3"]
steps:
- uses: actions/checkout@v2
- name: Setup Lua
uses: leafo/gh-actions-lua@v8.0.0
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4
- name: Install dependencies
run: |
luarocks --local install busted
luarocks --local install luacov
luarocks --local install luacov-coveralls
- name: Run busted
run: ~/.luarocks/bin/busted --verbose --coverage spec
continue-on-error: true # it keeps bitching about concat of nil values, no idea why.
- name: Upload coverage
continue-on-error: true # don't know why coveralls isn't uploading. For now, let this fail.
run: |
# ignore dotfile directories created by lua setup
~/.luarocks/bin/luacov-coveralls --exclude '^%.%a+$' --repo-token WcsY9jsU97Zt0ZIbGHJftGkC8DsD16FVl
# - name: Run luacheck
# run: luacheck --std max+busted *.lua spec