1
0
Fork 0
mirror of synced 2024-12-04 13:25:34 -05:00

Compare commits

...

4 commits

Author SHA1 Message Date
valentino-sm
6d3c87554c
Merge 8069872776 into 8d94c6ec1a 2024-11-28 23:53:32 +00:00
Anish Athalye
8d94c6ec1a Disable coverage status checks 2024-11-21 17:23:21 +05:30
Anish Athalye
2294ac78f8 Update actions 2024-11-21 17:13:19 +05:30
valentino-sm
8069872776
Fix bug dispatching by dublicate plugins 2024-01-04 20:51:48 +05:00
3 changed files with 10 additions and 3 deletions

View file

@ -47,11 +47,14 @@ jobs:
run: | run: |
python -m tox python -m tox
python -m tox -e coverage_report python -m tox -e coverage_report
- uses: codecov/codecov-action@v3 - uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
fmt: fmt:
name: Format name: Format
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: psf/black@stable - uses: psf/black@stable
- uses: isort/isort-action@v1 - uses: isort/isort-action@v1

4
codecov.yml Normal file
View file

@ -0,0 +1,4 @@
coverage:
status:
project: off
patch: off

View file

@ -19,7 +19,7 @@ class Dispatcher:
self._log = Messenger() self._log = Messenger()
self._setup_context(base_directory, options) self._setup_context(base_directory, options)
plugins = plugins or [] plugins = plugins or []
self._plugins = [plugin(self._context) for plugin in plugins] self._plugins = [plugin(self._context) for plugin in set(plugins)]
self._only = only self._only = only
self._skip = skip self._skip = skip
self._exit = exit_on_failure self._exit = exit_on_failure