Skip to content

Commit

Permalink
Add todo Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mallocator committed Jun 4, 2020
1 parent f804fab commit 71ccc25
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Workflow"
on: ["push"]
jobs:
verify:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/[email protected]"
with:
REPO: ${{ github.repository }}
BEFORE: ${{ github.event.before }}
SHA: ${{ github.sha }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "// TODO"
COMMENT_MARKER: "//"
id: "todo"
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/[email protected]"
with:
REPO: ${{ github.repository }}
BEFORE: ${{ github.event.before }}
SHA: ${{ github.sha }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "//TODO"
COMMENT_MARKER: "//"
id: "todoCompact"
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/[email protected]"
with:
REPO: ${{ github.repository }}
BEFORE: ${{ github.event.before }}
SHA: ${{ github.sha }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "\\* TODO"
COMMENT_MARKER: "\\*"
id: "todoFull"
6 changes: 6 additions & 0 deletions test/Pump.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ import Pump from '../src/Pump.js'
import chai from 'chai'
const expect = chai.expect;

/**
* TODO: Put real tests here
* So far there are no tests anywhere and I'm busy writing configuration and scaffolding code.
* Once we're starting on the actual implementation this should be replaced with some real tests.
*/
describe('Pump', () => {
it('should run a simple test to check qa setup', () => {
expect(1).to.be.a('number');
expect(true).to.be.a('boolean');
})
})

0 comments on commit 71ccc25

Please sign in to comment.