Skip to content

Commit

Permalink
Merge pull request #303 from chkware/chore/maintenance-24jun-03
Browse files Browse the repository at this point in the history
chore: added toml
  • Loading branch information
0hsn authored Jun 1, 2024
2 parents 8c32a3a + 7fffb05 commit 78160a0
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 27 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/coverage-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
runs-on: ubuntu-latest
if: ${{ ! github.event.pull_request.draft }}

env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -25,11 +29,8 @@ jobs:
- name: Install dependencies
run: pip install -r requirements-dev.txt

- name: Run tests
run: python -m pytest --cov=./chk --cov-report xml && coverage-lcov
- name: Run tests and generate .coverage
run: python -m pytest --cov=./chk

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
- name: Upload to coveralls.io
run: coveralls
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var-dump = "*"
types-pyyaml = "*"
types-requests = "*"
pytest-cov = "*"
coverage-lcov = "*"
coveralls = "*"

[requires]
python_version = "3.11"
138 changes: 125 additions & 13 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ aiosignal==1.3.1; python_version >= '3.7'
astroid==3.2.2; python_full_version >= '3.8.0'
attrs==23.2.0; python_version >= '3.7'
black[d]==24.4.2; python_version >= '3.8'
certifi==2024.2.2; python_version >= '3.6'
charset-normalizer==3.3.2; python_full_version >= '3.7.0'
click==8.1.7; python_version >= '3.7'
coverage[toml]==7.5.3; python_version >= '3.8'
coverage-lcov==0.2.5; python_full_version >= '3.6.3' and python_full_version < '4.0.0'
coveralls==4.0.1; python_version < '3.13' and python_version >= '3.8'
dill==0.3.8; python_version >= '3.11'
docopt==0.6.2
flake8==7.0.0; python_full_version >= '3.8.1'
frozenlist==1.4.1; python_version >= '3.8'
idna==3.7; python_version >= '3.5'
Expand All @@ -26,21 +29,18 @@ pyflakes==3.2.0; python_version >= '3.8'
pylint==3.2.2; python_full_version >= '3.8.0'
pytest==8.2.1; python_version >= '3.8'
pytest-cov==5.0.0; python_version >= '3.8'
requests==2.32.3; python_version >= '3.8'
tomlkit==0.12.5; python_version >= '3.7'
types-pyyaml==6.0.12.20240311; python_version >= '3.8'
types-requests==2.32.0.20240523; python_version >= '3.8'
types-toml==0.1.5
typing-extensions==4.12.0; python_version >= '3.8'
urllib3==2.2.1; python_version >= '3.8'
var-dump==1.2
yarl==1.9.4; python_version >= '3.7'
cerberus==1.3.5
certifi==2024.2.2; python_version >= '3.6'
charset-normalizer==3.3.2; python_full_version >= '3.7.0'
defusedxml==0.7.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
jinja2==3.1.4; python_version >= '3.7'
markupsafe==2.1.5; python_version >= '3.7'
python-dotenv==1.0.1; python_version >= '3.8'
pyyaml==6.0.1; python_version >= '3.6'
requests==2.32.3; python_version >= '3.8'
xmltodict==0.13.0; python_version >= '3.4'
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-i https://pypi.org/simple
cerberus==1.3.5
certifi==2024.2.2; python_version >= '3.6'
charset-normalizer==3.3.2; python_full_version >= '3.7.0'
Expand Down

0 comments on commit 78160a0

Please sign in to comment.