Skip to content

Commit 7a3f6c1

Browse files
committed
ci: avoid using pytest actions
1 parent c698096 commit 7a3f6c1

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/cicd.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,25 @@ jobs:
8686
ANSYS_LOCAL: false
8787
ON_UBUNTU: true
8888
steps:
89-
- uses: ansys/actions/tests-pytest@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
90-
with:
91-
group-dependencies-name: tests
92-
# uv pip install tests/launcher/pkg_with_entrypoint
89+
- name: Checkout repository
90+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
91+
92+
- name: Set up uv
93+
uses: astral-sh/setup-uv@eb1897b8dc4b5d5bfe39a428a8f2304605e0983c # 7.0.0
94+
with:
95+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
96+
97+
- name: Install project dependencies
98+
run: |
99+
uv sync --group tests
100+
101+
- name: Install test package containing entrypoint
102+
run: |
103+
uv pip install tests/launcher/pkg_with_entrypoint
104+
105+
- name: Run tests
106+
run: |
107+
uv run pytest
93108
94109
doc-build:
95110
name: Build documentation

0 commit comments

Comments
 (0)