From e6eacc6b8fc295f96895f04d0a17e664904c2536 Mon Sep 17 00:00:00 2001 From: Giulio Calzolari Date: Mon, 15 Nov 2021 10:50:03 +0100 Subject: [PATCH] github action update --- .github/ISSUE_TEMPLATE.md | 3 +++ .github/ISSUE_TEMPLATE/bug_report.md | 31 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 +++++++++++++++++ .github/dependabot.yml | 12 +++++++++ tox.ini | 11 ++++++-- 5 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/dependabot.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..d717c4c --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,3 @@ +- **salesforce_timecard version:** e.g. 2.0.4 +- **Python version:** e.g. 3.7.4 (output of the `python --version` command) +- **Operating system version:** e.g. Windows 10, Ubuntu 18.04, macOS 10.14.5 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..644483a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'bug' +assignees: 'giuliocalzolari' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** + +``` +[ Include a code snippet that produces your bug. Make it standalone, we should be able to run it. ] + +[ Include a data sample or link to your data if necessary to run the code ] + +``` + +**Expected behavior** +A clear and concise description of what you expected to happen. + + +**Additional context** +Add any other context about the problem here. + +**Possible solutions** +List any solutions you may have come up with. + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..9ffe9e4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: 'feature' +assignees: 'giuliocalzolari' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. + +**Implementation** +Can you help make a PR if we want to implement this feature? diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3acffa7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 + +updates: +- package-ecosystem: pip + directory: / + schedule: + interval: weekly + +- package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/tox.ini b/tox.ini index b59aa28..713cabb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,21 @@ [tox] isolated_build = true -envlist = py38 +envlist = py{37,38,39}-{default,use_chardet_on_py3} whitelist_externals = pytest + [testenv] commands = pytest --record-mode=none tests/test* -vv setenv = PYTHONDONTWRITEBYTECODE=1 PYTHONHASHSEED=0 - PYTHONWARNINGS=ignore \ No newline at end of file + PYTHONWARNINGS=ignore + +[testenv:use_chardet_on_py3] +extras = + security + socks + use_chardet_on_py3 \ No newline at end of file