Skip to content

Commit

Permalink
Add freezegun test dependency
Browse files Browse the repository at this point in the history
workflow tweaks
  • Loading branch information
milkboy committed Feb 15, 2022
1 parent de29022 commit 4f97fcc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ categories:
- "bug"

- title: "🧰 Maintenance"
label:
labels:
- "dependencies"
- "refactoring"
- "tests"

version-resolver:
major:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ jobs:
files: ./coverage.xml
flags: unittests
name: codecov-volkswagencarnet
# path_to_write_report: ./coverage/codecov_report.txt
verbose: true
verbose: true
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: jesusvasquez333/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
valid-labels: "bug, enhancement, dependencies"
valid-labels: "bug, enhancement, dependencies, refactoring, tests"
invalid-labels: "help wanted, invalid, question"
pull-request-number: "${{ github.event.pull_request.number }}"
disable-reviews: true
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ requires = [
"wheel>=0.37.0",
"setuptools_scm>=6.x",
"pytest>=5,<8",
"freezegun>=1.0"
]
build-backend = "setuptools.build_meta"

Expand All @@ -23,4 +22,4 @@ extend-exclude = '''
| tests/data
| profiling
)/
'''
'''
8 changes: 3 additions & 5 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
lxml
beautifulsoup4
aiohttp
pyjwt
-r requirements.txt
pytest>=7.0.0
setuptools
pytest-asyncio
flake8
pytest-cov
black
black
freezegun=>1.0.0

0 comments on commit 4f97fcc

Please sign in to comment.