Skip to content

Commit

Permalink
Add linting github action
Browse files Browse the repository at this point in the history
  • Loading branch information
flyck committed Feb 8, 2021
1 parent 2da5c09 commit 1180c75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/flake8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linting

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Flake8
run: pip install flake8
- name: Run flake8
run: flake8 cost-reporter/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cost Reporter

![Tests](https://github.com/globaldatanet/cost-reporter/workflows/Tests/badge.svg)
![Tests](https://github.com/globaldatanet/cost-reporter/workflows/Tests/badge.svg) ![Linting](https://github.com/globaldatanet/cost-reporter/workflows/Linting/badge.svg)

A lambda which sends a daily cost and trend report to slack. It helps with one of the three [**FinOps**](https://www.linkedin.com/company/finops-foundation/) phases: `Inform`. It can send you a report **every day** / **only when cost increases** / **only when cost breached a threshold** depending on your [configuration](template.yaml).

Expand Down

0 comments on commit 1180c75

Please sign in to comment.