Skip to content
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

ci: Use CICD only on v* tags. #3186

Merged
merged 3 commits into from
Jun 19, 2024
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
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
description: 'Run all extended MAPDL build tests'
required: true
type: boolean

push:
tags:
- "*"
- "v*"
branches:
- main
schedule:
Expand Down Expand Up @@ -128,11 +128,11 @@ jobs:
library-name: ${{ env.PACKAGE_NAME }}
operating-system: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}

- name: "Importing library"
run: |
python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"

- name: "Checking plotting support"
run:
python -c "from pyvista.plotting import system_supports_plotting; print('System support plotting ' + str(system_supports_plotting()))"
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
- name: "DPF server activation"
run: |
$(docker pull ghcr.io/ansys/dpf-core:22.2dev && docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo "DPF Server active on port ${{ env.DPF_PORT }}.") &

- name: "Getting files change filters"
uses: dorny/paths-filter@v3
id: changes
Expand Down Expand Up @@ -648,7 +648,7 @@ jobs:
with:
message: |
Hello! :wave:

Your PR is changing the image cache. So I am attaching the new image cache in a new [commit](https://github.com/ansys/pymapdl/commit/${{ steps.attatch-to-pr.outputs.commit_long_sha }}).

This commit does not re-run the CICD workflows (since no changes are made in the codebase) therefore you will see the actions showing in their status `Expected — Waiting for status to be reported`. Do not worry. You commit workflow is still running [here](https://github.com/ansys/pymapdl/pull/${{ github.event.pull_request.number }}/checks?sha=${{ github.event.pull_request.head.sha }}) :smile:
Expand Down Expand Up @@ -764,7 +764,7 @@ jobs:
pytest -k "not test_dpf" \
${{ env.PYTEST_ARGUMENTS }} \
--cov-report=xml:${{ matrix.mapdl-image }}-minimal.xml

- uses: codecov/codecov-action@v4
name: "Upload coverage to Codecov"
with:
Expand Down Expand Up @@ -993,7 +993,7 @@ jobs:
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}

- name: "Getting python interpreter"
id: get_python
run: |
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3186.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: Use CICD only on ``v*`` tags.
Loading