Skip to content

Commit

Permalink
Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofix committed May 8, 2023
1 parent 8f9c1f3 commit 791aa45
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
22 changes: 20 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,25 @@

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: "all"
assignees:
- "mariofix"
commit-message:
prefix: "poetry prod"
prefix-development: "poetry dev"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: "all"
commit-message:
prefix: "actions prod"
prefix-development: "actions dev"
include: "scope"
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
run: poetry install --with dev
- name: Build Thank You
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,13 @@ jobs:
run: poetry install --with dev
- name: Run Tests and coverage
run: poetry run coverage run -m pytest
- name: Coverage report (xml)
run: poetry run coverage xml
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: "coverage.xml"
language: "python"
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# thanks
# Thank You
Python module to print "Thanks/Thank you" in every known language.
Install it, import it and use it with
```python
from thankyou import give_thanks
thanks = give_thanks()
```

So, why do this?
Why not I may reply.

It's just a "nicer" way to generate random (sometimes hostile) data.

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/mariofix/thankyou/main.svg)](https://results.pre-commit.ci/latest/github/mariofix/thankyou/main) [![Thank You](https://github.com/mariofix/thankyou/actions/workflows/tests.yml/badge.svg)](https://github.com/mariofix/thankyou/actions/workflows/tests.yml) [![PyPI version](https://badge.fury.io/py/thankyou.svg)](https://badge.fury.io/py/thankyou) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "thankyou"
version = "0.0.2"
version = "0.0.3"
description = "Print \"Thank You\" in every known language"
authors = [
"Mario Hernandez <[email protected]>"
Expand Down

0 comments on commit 791aa45

Please sign in to comment.