You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2022/12/06 11:28:34 UTC

[Bug 8056] Explore using Github Actions for building and testing

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8056

Sidney Markowitz <si...@sidney.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |4.0.1

--- Comment #5 from Sidney Markowitz <si...@sidney.com> ---
Committing files that can be used to run a Github Action that builds
SpamAssassin and runs make test.

To use:

In your own Github account create a fork of the Github mirror of the
SpamAssassin svn repo that is at https://github.com/apache/spamassassin

Note: DO NOT run the action in the the apache Github repo, fork first. Apache
does not have the resources on Github to add running these actions to
everything else they are already doing.

In the Github web page for your fork, in the settings for the repository,
enable permissions to run the actions.

When you want to run the regression tests in Actions, on the Github page for
the fork, select the Actions tab, click on the One Native Runner Ci action in
the left panel. Click on the Run Workflow dropdown that is in the right panel.
Enter the appropriate runner platform, perl version, and make command for the
tests your want to run, then click the Run Workflow button.

Click the Actions tab again to see actions that are in progress and click on
one and drill down to find the scrolling display of the log output.

trunk % svn ci -m "Bug 8056 - commit Github Actions that can be used in a fork
of our Github mirror to run regression tests on Github action runners"
Adding         .github
Adding         .github/actions
Adding         .github/actions/install_cpan_dependencies_for_sa
Adding         .github/actions/install_cpan_dependencies_for_sa/action.yml
Adding         .github/actions/setup_macos_for_sa_test
Adding         .github/actions/setup_macos_for_sa_test/action.yml
Adding         .github/actions/setup_ubuntu_for_sa_test
Adding         .github/actions/setup_ubuntu_for_sa_test/action.yml
Adding         .github/workflows
Adding         .github/workflows/makefile_one_native.yml
Sending        MANIFEST.SKIP
Transmitting file data .....done
Committing transaction...
Committed revision 1905790.

I'm not closing this issue yet. This commit is to get the files in the Github
repository so I can use it to run tests for the 4.0.0 release, with the
expectation that there will be things to clean up after the release.

Since there are no code changes for production, this has been committed without
an R-T-C vote.

-- 
You are receiving this mail because:
You are the assignee for the bug.