Skip to content

Commit

Permalink
automations
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Mar 25, 2023
1 parent cf82f01 commit 4428f65
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- dev
paths-ignore:
- 'ovos_solver_pandorabots/version.py'
- 'ovos_solver_pandorabots_plugin/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- dev
paths-ignore:
- 'ovos_solver_pandorabots/version.py'
- 'ovos_solver_pandorabots_plugin/version.py'
- 'requirements/**'
- 'examples/**'
- '.github/**'
Expand All @@ -18,7 +18,7 @@ on:
branches:
- master
paths-ignore:
- 'ovos_solver_pandorabots/version.py'
- 'ovos_solver_pandorabots_plugin/version.py'
- 'requirements/**'
- 'examples/**'
- '.github/**'
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
pip install pytest pytest-timeout pytest-cov
- name: Run unittests
run: |
pytest --cov=ovos_solver_pandorabots --cov-report xml test/unittests
pytest --cov=ovos_solver_pandorabots_plugin --cov-report xml test/unittests
# NOTE: additional pytest invocations should also add the --cov-append flag
# or they will overwrite previous invocations' coverage reports
# (for an example, see OVOS Skill Manager's workflow)
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname


version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots", "version.py")
version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots_plugin", "version.py")
version_var_name = "VERSION_ALPHA"

with open(version_file, "r", encoding="utf-8") as v:
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname


version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots", "version.py")
version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots_plugin", "version.py")
version_var_name = "VERSION_BUILD"
alpha_var_name = "VERSION_ALPHA"

Expand Down
2 changes: 1 addition & 1 deletion scripts/bump_major.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname


version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots", "version.py")
version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots_plugin", "version.py")
version_var_name = "VERSION_MAJOR"
minor_var_name = "VERSION_MINOR"
build_var_name = "VERSION_BUILD"
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump_minor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname


version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots", "version.py")
version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots_plugin", "version.py")
version_var_name = "VERSION_MINOR"
build_var_name = "VERSION_BUILD"
alpha_var_name = "VERSION_ALPHA"
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname


version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots", "version.py")
version_file = join(dirname(dirname(__file__)), "ovos_solver_pandorabots_plugin", "version.py")

alpha_var_name = "VERSION_ALPHA"

Expand Down

0 comments on commit 4428f65

Please sign in to comment.