unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
358 stars 157 forks source link

Error in Draft Workflow #2018

Closed purva-thakre closed 12 months ago

purva-thakre commented 1 year ago

Discussed in https://github.com/unitaryfund/mitiq/discussions/1990

Originally posted by **purva-thakre** September 1, 2023 Draft Github Actions workflow was failing for all versions with error `Error: Unable to process file command 'env' successfully.`. https://github.com/unitaryfund/mitiq/actions/runs/6054448774/job/16431867571 The same builds pass when the PR is not a draft.

Option 1 - remove the workflow for draft PR Option 2 - figure out a way to allow changes to multiple files (as stated in the linked discussion)

The draft workflows don't take too long compared to a non-draft workflow as the tests are run only on the changes made in the PR. Option 2 would be a preferable solution but in case that doesn't work, option 1 would be the fallback solution.

natestemen commented 1 year ago

I vote to remove, and spend more time on https://github.com/unitaryfund/mitiq/issues/1998