Skip to content

Commit

Permalink
Rename the action scade-tests-pytest to tests-pytest (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansjhenry authored Feb 20, 2024
1 parent 5d599cc commit c5e290a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
target-name: ${{ steps.get-scade-python.outputs.python-name }}

- name: Execute tests
uses: ./scade-tests-pytest
uses: ./tests-pytest
with:
python-dir: ${{ steps.create-scade-venv.outputs.scripts-dir }}
library-dir: "tests/python"
Expand Down
2 changes: 1 addition & 1 deletion doc/source/query-actions/examples/get-scade-dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ get-scade-dir:
runs-on: [self-hosted, 'SCADE']
steps:
- name: "Get SCADE directory"
uses: ansys-scade/actions/get-scade-dir@{{ version }}
uses: ansys/scade-actions/get-scade-dir@{{ version }}
with:
scade-version: "23.2"
2 changes: 1 addition & 1 deletion doc/source/query-actions/examples/get-scade-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ get-scade-python:
runs-on: [self-hosted, 'SCADE']
steps:
- name: "Get SCADE Python"
uses: ansys-scade/actions/get-scade-python@{{ version }}
uses: ansys/scade-actions/get-scade-python@{{ version }}
with:
scade-dir: 'C:\Program Files\Ansys Inc\v232\SCADE'
2 changes: 1 addition & 1 deletion doc/source/tests-actions/examples/create-scade-venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ create-scade-venv:
runs-on: [self-hosted, 'SCADE']
steps:
- name: "Create Python virtual environment"
uses: ansys-scade/actions/create-scade-venv@{{ version }}
uses: ansys/scade-actions/create-scade-venv@{{ version }}
with:
python-dir: 'C:\Program Files\Ansys Inc\v232\SCADE\contrib\Python310'
target-dir: '.venvs'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tests:
runs-on: [self-hosted, 'SCADE']
steps:
- name: "Run the tests"
uses: ansys-scade/actions/scade-tests-pytest@main
uses: ansys/scade-actions/tests-pytest@{{ version }}
with:
python-dir: '.venvs\Python310\Scripts'
pytest-extra-args: "--cov=ansys --cov-report=term --cov-branch --cov-report=html:.cov/html"
Expand Down
4 changes: 2 additions & 2 deletions doc/source/tests-actions/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This action runs the test suite for a Python library. This action accepts
markers, options, and post arguments to be passed to pytest before executing
the test session.

.. jinja:: scade-tests-pytest
.. jinja:: tests-pytest

{{ description }}

Expand All @@ -46,7 +46,7 @@ the test session.
Examples
++++++++

.. jinja:: scade-tests-pytest
.. jinja:: tests-pytest

{% for filename, title in examples %}
.. dropdown:: {{ title }}
Expand Down
2 changes: 1 addition & 1 deletion scade-tests-pytest/action.yml → tests-pytest/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# scade-tests-pytest
# tests-pytest
# action derived from ansys/actions/tests-pytest
name: >
Tests pytest action
Expand Down

0 comments on commit c5e290a

Please sign in to comment.