Skip to content
Merged
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
12 changes: 8 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
LATEST_STABLE_DOCKER_IMAGE_VERSION: '24.1.0'
# DEV_REVN & its Docker image are used in scheduled or registry package runs
DEV_REVN: '242'
DEV_DOCKER_IMAGE_VERSION: '24.2.0'
DEV_DOCKER_IMAGE_VERSION: '24.2_candidate'
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }}
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
Expand Down Expand Up @@ -134,12 +134,12 @@ jobs:
steps:
- id: save-versions
run: |
if ${{ github.event_name == 'schedule' }}; then # || ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'mechanical:24.2.0' }}; then
if ${{ github.event_name == 'schedule' }}; then
# 242
echo "test_revn=${{ env.DEV_REVN }}" >> $GITHUB_OUTPUT
# ghcr.io/ansys/mechanical:24.2.0
# ghcr.io/ansys/mechanical:24.2_candidate
echo "test_container=${{ env.DOCKER_PACKAGE }}:${{ env.DEV_DOCKER_IMAGE_VERSION }}" >> $GITHUB_OUTPUT
# 24.2.0
# 24.2_candidate
echo "test_docker_image_version=${{ env.DEV_DOCKER_IMAGE_VERSION }}" >> $GITHUB_OUTPUT
else
# 241
Expand All @@ -152,6 +152,8 @@ jobs:

echo "stable_container=${{ env.DOCKER_PACKAGE }}:${{ env.LATEST_STABLE_DOCKER_IMAGE_VERSION }}" >> $GITHUB_OUTPUT

cat $GITHUB_OUTPUT

config-matrix:
runs-on: ubuntu-latest
needs: [revn-variations]
Expand All @@ -170,6 +172,8 @@ jobs:
echo "matrix={\"mechanical-version\":['${{ needs.revn-variations.outputs.test_docker_image_version }}'],\"experimental\":[false]}" >> $GITHUB_OUTPUT
fi

cat $GITHUB_OUTPUT

tests:
name: Testing and coverage - Mechanical ${{ matrix.mechanical-version }}
runs-on: public-ubuntu-latest-8-cores
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG](https://kee
- Put remote example before embedding example ([#621](https://github.com/ansys/pymechanical/pull/621))
- Add MechanicalEnums ([#626](https://github.com/ansys/pymechanical/pull/626))
- Update Release action to use Stable version of Mechanical #628
- Update nightly run image version ([#636](https://github.com/ansys/pymechanical/pull/636))

### Changed
- Update ``pre-commit`` ([#610](https://github.com/ansys/pymechanical/pull/610))
Expand Down