Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run tests and upload coverage

on:
push

jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Set up Node
uses: actions/setup-node@v4

- name: Install dependencies
run: npm install


- name: Run tests
run: npm run cover

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./tests/coverage/lcov.info
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
npm-debug.log
plugin_ideas.md
!/test/**
!/tests/**
/devtest/
.buildNum.json
.printVersion
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test/
tests/
plugins/
node_modules/
tmp/
Expand Down
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

36 changes: 20 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![npm downloads](https://img.shields.io/npm/dm/malta.svg)](https://npmjs.org/package/malta)
[![Package Quality](https://npm.packagequality.com/shield/malta.svg)](https://packagequality.com/#?package=malta)

[![Coverage Status](https://coveralls.io/repos/github/fedeghe/malta/badge.svg?branch=master)](https://coveralls.io/github/fedeghe/malta?branch=master)
[![codecov](https://codecov.io/gh/fedeghe/malta/graph/badge.svg?token=9HlRLlbewR)](https://codecov.io/gh/fedeghe/malta)
[![Known Vulnerabilities](https://snyk.io/test/github/fedeghe/malta/badge.svg)](https://snyk.io/test/github/fedeghe/malta)
[![changelog](https://img.shields.io/badge/changelog-md-blue.svg?style=flat-square)][4]

Expand All @@ -19,21 +19,25 @@ Everytime _malta_ builds the main file it is possible to start a chain of action

### Get started

- [installation](#installation)
- [command line](#commandline)
- [programmatic](#programmatic)
- [single mode](#single_mode)
- [multi mode](#multi_mode)
- [multi destinations](#multi_destinations)
- [parameters](#parameters)
- [complete example of usage][2]
- [microtemplating](#microtemplating)
- [placeholders](#placeholders)
- [something more about placeholders](#smplaceholders)
- [plugins list][3]
- [something more about plugins](#smplugins)
- [write your plugin in 5 minutes](#writeyourplugin)
- [changelog][4]
- [Malta is ...](#malta-is-)
- [... plugin based](#-plugin-based)
- [Get started](#get-started)
- [Installation](#installation)
- [Command line Usage](#command-line-usage)
- [Programmatic](#programmatic)
- [Single mode](#single-mode)
- [Multi mode](#multi-mode)
- [More destinations for one file.](#more-destinations-for-one-file)
- [Parameters](#parameters)
- [Something more about plugins](#something-more-about-plugins)
- [no demon (only _multi-mode_)](#no-demon-only-multi-mode)
- [execute a terminal command (only _multi-mode_)](#execute-a-terminal-command-only-multi-mode)
- [Microtemplating (experimental)](#microtemplating-experimental)
- [Placeholders](#placeholders)
- [Something more about placeholders](#something-more-about-placeholders)
- [Write Your plugin in 5 minutes](#write-your-plugin-in-5-minutes)
- [Hints](#hints)
- [Wired vars](#wired-vars)

---

Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

Loading