Skip to content

ci: Optimize Podman workflow [skip tests] #4192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 1 addition & 22 deletions .github/workflows/test-podman-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,11 @@ jobs:
restore-keys: |
Python-${{ runner.os }}-${{ env.PYTHON_VERSION }}

- name: Add version information
run: make version-info

- name: Install pyfluent
run: |
pip install packaging
pip install ansys-fluent-core>=0.32.1
make install

- name: Retrieve PyFluent version
run: |
echo "PYFLUENT_VERSION=$(python -c "from ansys.fluent.core import __version__; print(); print(__version__)" | tail -1)" >> $GITHUB_OUTPUT
echo "PYFLUENT version is: $(python -c "from ansys.fluent.core import __version__; print(); print(__version__)" | tail -1)"
id: version

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
Expand All @@ -90,18 +81,6 @@ jobs:
sudo podman pull docker-daemon:ghcr.io/ansys/pyfluent:${{ matrix.image-tag }}
sudo podman images

- name: Run API codegen
run: make api-codegen

- name: Print Fluent version info
run: |
cat src/ansys/fluent/core/generated/fluent_version_${{ matrix.version }}.py

- name: Install again after codegen
run: |
rm -rf dist
make install > /dev/null

- name: Run Fluent test script
run: |
python tests/podman_compose.py
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/4192.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Optimize Podman workflow [skip tests]
Loading