Skip to content

Conversation

mtreinish
Copy link
Member

Summary

In #13474 we restructured our CI to be based solely on github actions. As part of that change a new workflow structure was introduced where there were on-*.yml files that enumerate the jobs run for each job trigger. For example, on-pull-request.yml lists all the jobs that run when a pull request is opened or updated. However, the C API tests were not integrated into this new structure as part of #13474 as they were already running and that PR didn't want to change github actions usage that was already working. This commit is the follow up that updates the C API tests so they fit into the new structure and the jobs that are run are listed in the specific trigger sections.

Details and comments

In Qiskit#13474 we restructured our CI to be based solely on github actions.
As part of that change a new workflow structure was introduced where
there were `on-*.yml` files that enumerate the jobs run for each job
trigger. For example, `on-pull-request.yml` lists all the jobs that run
when a pull request is opened or updated. However, the C API tests were
not integrated into this new structure as part of Qiskit#13474 as they were
already running and that PR didn't want to change github actions usage
that was already working. This commit is the follow up that updates the
C API tests so they fit into the new structure and the jobs that are run
are listed in the specific trigger sections.
@mtreinish mtreinish requested a review from a team as a code owner May 28, 2025 10:58
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in changelog labels May 28, 2025
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@coveralls
Copy link

Pull Request Test Coverage Report for Build 15298391107

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 10 unchanged lines in 2 files lost coverage.
  • Overall coverage remained the same at 87.853%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 4 92.48%
crates/qasm2/src/parse.rs 6 97.61%
Totals Coverage Status
Change from base Build 15296293022: 0.0%
Covered Lines: 79843
Relevant Lines: 90883

💛 - Coveralls

jakelishman
jakelishman previously approved these changes May 28, 2025
Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need to update the branch-protection rules to include the C-API tests? We won't be able to do that til #14492 is in, though.

@jakelishman jakelishman added this pull request to the merge queue May 28, 2025
github-merge-queue bot pushed a commit that referenced this pull request May 28, 2025
In #13474 we restructured our CI to be based solely on github actions.
As part of that change a new workflow structure was introduced where
there were `on-*.yml` files that enumerate the jobs run for each job
trigger. For example, `on-pull-request.yml` lists all the jobs that run
when a pull request is opened or updated. However, the C API tests were
not integrated into this new structure as part of #13474 as they were
already running and that PR didn't want to change github actions usage
that was already working. This commit is the follow up that updates the
C API tests so they fit into the new structure and the jobs that are run
are listed in the specific trigger sections.
@jakelishman jakelishman removed this pull request from the merge queue due to a manual request May 28, 2025
@jakelishman jakelishman added this pull request to the merge queue May 28, 2025
@jakelishman jakelishman removed this pull request from the merge queue due to a manual request May 28, 2025
Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This borked the merge queue first time round, but I think I fixed it.

@jakelishman jakelishman enabled auto-merge May 28, 2025 16:51
@jakelishman jakelishman added this pull request to the merge queue May 28, 2025
Merged via the queue into Qiskit:main with commit 7fdb35a May 28, 2025
20 of 26 checks passed
@mtreinish mtreinish deleted the c-tests-new-gha-structure branch May 28, 2025 17:54
rahaman-quantum pushed a commit to rahaman-quantum/qiskit that referenced this pull request Jun 20, 2025
* Integrate C API tests into new GHA workflow structure

In Qiskit#13474 we restructured our CI to be based solely on github actions.
As part of that change a new workflow structure was introduced where
there were `on-*.yml` files that enumerate the jobs run for each job
trigger. For example, `on-pull-request.yml` lists all the jobs that run
when a pull request is opened or updated. However, the C API tests were
not integrated into this new structure as part of Qiskit#13474 as they were
already running and that PR didn't want to change github actions usage
that was already working. This commit is the follow up that updates the
C API tests so they fit into the new structure and the jobs that are run
are listed in the specific trigger sections.

* Fix broken syntax

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog type: qa Issues and PRs that relate to testing and code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants