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

Add a github action for setting up test environment and running the tests #31

Merged
merged 2 commits into from
May 24, 2024

Conversation

culka
Copy link
Contributor

@culka culka commented May 23, 2024

This change is Reviewable

@culka culka force-pushed the e2e-test-action branch 2 times, most recently from d945f9b to b4db0e2 Compare May 24, 2024 05:28
@culka culka force-pushed the e2e-test-action branch from b4db0e2 to 4018114 Compare May 24, 2024 05:34
@@ -11,20 +11,11 @@ jobs:
runs-on: ubuntu-latest-4-cores

steps:
# We need to checkout code in order to run a local action
- name: Checkout code

Choose a reason for hiding this comment

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

Shouldn't this "Checkout code" step be removed because it is part of run-ci?

An old version of the action is used by the way.

@culka culka force-pushed the e2e-test-action branch from 4018114 to 05eef80 Compare May 24, 2024 06:52
Copy link
Contributor Author

@culka culka left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @jarkkoka)


.github/workflows/test-run-cypress-tests-action.yml line 15 at r1 (raw file):

Previously, jarkkoka (Jarkko Kaura) wrote…

Shouldn't this "Checkout code" step be removed because it is part of run-ci?

An old version of the action is used by the way.

As the comment above says, an action in the same repository cannot be used without doing a checkout first. It won't be needed when using the action from another Github repository.

Updated the version!

Copy link

@jarkkoka jarkkoka left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: 0 of 2 files reviewed, 2 unresolved discussions (waiting on @culka)


.github/workflows/test-run-cypress-tests-action.yml line 15 at r1 (raw file):

Previously, culka (Teemu Mäkinen) wrote…

As the comment above says, an action in the same repository cannot be used without doing a checkout first. It won't be needed when using the action from another Github repository.

Updated the version!

Ok. Couldn't interpret the comment correctly.


.github/workflows/test-run-cypress-tests-action.yml line 14 at r3 (raw file):

    steps:
      # We need to checkout code in order to run a local action

IMO "local action" is not something easily understood. For me ,"local action" means something that is run on the developer's own computer. See e.g. https://github.com/github/local-action

I'd add the following sentence here:

Even though code checking is part of the "run-ci" action, it must be done separately here, because "run-ci" is located in this same repository.

Copy link

@jarkkoka jarkkoka left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @culka)

@culka culka force-pushed the e2e-test-action branch from 05eef80 to 7642bdc Compare May 24, 2024 07:27
Copy link
Contributor Author

@culka culka left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @jarkkoka)


.github/workflows/test-run-cypress-tests-action.yml line 14 at r3 (raw file):

Previously, jarkkoka (Jarkko Kaura) wrote…

IMO "local action" is not something easily understood. For me ,"local action" means something that is run on the developer's own computer. See e.g. https://github.com/github/local-action

I'd add the following sentence here:

Even though code checking is part of the "run-ci" action, it must be done separately here, because "run-ci" is located in this same repository.

Using this one 🙂

@culka culka merged commit e540264 into main May 24, 2024
16 of 17 checks passed
@culka culka deleted the e2e-test-action branch May 24, 2024 07:42
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.

2 participants