feat: add fullpath to set UDS sock filename #541
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MAPDL dependent tests for paths tool | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - '*' | |
| branches: | |
| - main | |
| env: | |
| PACKAGE_NAME: ansys-tools-common | |
| MAIN_PYTHON_VERSION: 3.13 | |
| permissions: | |
| contents: read | |
| packages: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-tests: | |
| name: Build tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/ansys/mapdl:v22.2-ubuntu@sha256:024c587f4a8190e99cc3f08a2dc231583032e784a8ef7d7659f8dd9748116697 | |
| options: -u=0:0 --entrypoint /bin/bash | |
| credentials: | |
| username: ${{ secrets.GH_USERNAME }} | |
| password: ${{ secrets.GH_TOKEN }} | |
| env: | |
| ANSYS_LOCAL: true | |
| ON_UBUNTU: true | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # 7.1.3 | |
| with: | |
| python-version: ${{ env.MAIN_PYTHON_VERSION }} | |
| enable-cache: false | |
| - name: Install project dependencies | |
| run: | | |
| uv sync --group tests | |
| - name: Install test package containing entrypoint | |
| run: | | |
| uv pip install tests/launcher/pkg_with_entrypoint | |
| - name: Run tests | |
| env: | |
| PACKAGE_NAMESPACE: ${{ env.PACKAGE_NAMESPACE }} | |
| run: | | |
| uv run pytest \ | |
| -vx \ | |
| --cov=${PACKAGE_NAMESPACE} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html |