[MacPorts] #62071: Tests fail if no portfiles are modified
MacPorts
noreply at macports.org
Sun Jan 17 15:55:49 UTC 2021
#62071: Tests fail if no portfiles are modified
----------------------------+---------------------
Reporter: harens | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Keywords: | Port:
----------------------------+---------------------
If no ports are changed, this currently causes both the Azure Pipelines
and GitHub Actions to fail. This is an issue if files that aren't ports
are modified, such as those in the [https://github.com/macports/macports-
ports/tree/master/_resources _resources] or [https://github.com/macports
/macports-ports/tree/master/.github .github] folder. This also brings into
question the test coverage of files that aren't ports.
The tests fail during the ''Determine list of changed ports'' section, and
give the following error:
{{{
/Users/runner/work/_temp/143ecc73-c99f-487c-b507-286338e5b5c9.sh: line 16:
portlist[@]: unbound variable
}}}
All other stages are skipped, until the ''Make logfiles readable''
section, where it fails again.
{{{
find: /tmp/mpbb: No such file or directory
}}}
A temporary workaround is to also modify a Portfile in the PR, but leave
it as a separate commit if necessary since it affects a different file.
--
Ticket URL: <https://trac.macports.org/ticket/62071>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list