Skip to content

Comments

ci: add separate coverage job#31

Merged
themilchenko merged 4 commits intomasterfrom
themilchenko/gh-22-add-coverage-job
Jan 14, 2025
Merged

ci: add separate coverage job#31
themilchenko merged 4 commits intomasterfrom
themilchenko/gh-22-add-coverage-job

Conversation

@themilchenko
Copy link
Contributor

Running tests, collecting the coverage and sending it to the coveralls was in a single job. After the patch tests, whether ran with and without coverage, were separated.

Closes #22

@themilchenko themilchenko force-pushed the themilchenko/gh-22-add-coverage-job branch from 77b5bb5 to 21c4fa1 Compare January 10, 2025 10:40
runs:
using: "composite"
steps:
- name: Install tarantool ${{ inputs.tarantool }}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: Install tarantool ${{ inputs.tarantool }}
- name: Install tarantool ${{ inputs.tarantool }} (dymanic)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Edited.

make
make DESTDIR=${TNT_DEBUG_PATH} install

- name: Install tarantool ${{ inputs.tarantool }}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: Install tarantool ${{ inputs.tarantool }}
- name: Install tarantool ${{ inputs.tarantool }} (debug)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Edited.

It's more convenient to have a separate action that installs the
necessary Tarantool. After the patch the code that installs Tarantool
was moved to a separate action.
Running tests, collecting the coverage and sending it to the coveralls
was in a single job. After the patch tests, whether ran with and without
coverage, were separated.

Closes #22
@themilchenko themilchenko force-pushed the themilchenko/gh-22-add-coverage-job branch 3 times, most recently from b977a62 to a9d021a Compare January 13, 2025 08:47
Added to the test matrix Tarantool 3.3.1 version with the lowest
supported version with wich role is working.
Since the installation of rocks takes not much time, so its caching can
be removed.
@themilchenko themilchenko force-pushed the themilchenko/gh-22-add-coverage-job branch from a9d021a to a2a8ea0 Compare January 13, 2025 08:53
@DerekBum
Copy link

Couldn't last two commits be squashed with the ci: add separate coverage job one?

@themilchenko
Copy link
Contributor Author

themilchenko commented Jan 13, 2025

Couldn't last two commits be squashed with the ci: add separate coverage job one?

I think there are two logical commits: first one extends test matrix and the second one deletes rocks caching in two jobs. As for me, non of these last commits can be related to a ci: add separate coverage job logic.

@themilchenko themilchenko merged commit 9e8c17c into master Jan 14, 2025
8 checks passed
@themilchenko themilchenko deleted the themilchenko/gh-22-add-coverage-job branch January 14, 2025 08:07
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

Successfully merging this pull request may close these issues.

ci: add coverage

4 participants