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

Automated testing #13

Open
dkfellows opened this issue Feb 19, 2024 · 0 comments
Open

Automated testing #13

dkfellows opened this issue Feb 19, 2024 · 0 comments

Comments

@dkfellows
Copy link

Building on #11 and #12, it's a very good idea to have your Github Action automation run your tests on every commit. Doing that automatically is great because then you don't forget just because you happened to have bad day for some reason.

Here's an example section (from one of my projects) of build.yml to enable that:

    - name: Build Project
      uses: threeal/[email protected]
      with:
        run-build: true
        run-test: true
        test-args: -C Debug
      env:
        CMAKE_BUILD_TYPE: Release
      timeout-minutes: 10

Specifically, adding run-test: true is the key part.

@dkfellows dkfellows mentioned this issue Feb 19, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant