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 java, js and ruby GHA workflows #4

Merged
merged 20 commits into from
Nov 10, 2021
Merged

Add java, js and ruby GHA workflows #4

merged 20 commits into from
Nov 10, 2021

Conversation

aurelien-reeves
Copy link
Contributor

Description

Add workflows to the CI

@aurelien-reeves
Copy link
Contributor Author

@aslakhellesoy FYI the acceptance tests still need to be migrated

@aslakhellesoy
Copy link
Contributor

Yes, let’s use the same approach we use in tag-expressions and cucumber-expressions where we have native tests that read the acceptance test data files.

@aurelien-reeves
Copy link
Contributor Author

aurelien-reeves commented Nov 8, 2021

Ruby and JavaScript acceptance tests migrated from make to rspec/mocha.

@aslakhellesoy @mpkorstanje Need help with Java 😭

import defaultCiDict from './ciDict.json'
import evaluateVariableExpression from './evaluateVariableExpression'
import { CiDict, CiSystem, Env } from './types'

interface gitHash {
Copy link
Contributor

Choose a reason for hiding this comment

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

Use a capital letter for types. Prefer type over interface when there are no methods. gitHash sounds strange to me. How about GitInfo?

Copy link
Contributor

Choose a reason for hiding this comment

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

(Aside: Perhaps a Git "tree-ish"? But, the remote is not a part of that, though.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed it looks a little bit like a tree-ish

GitInfo seems more generic, and maybe more common in a context like the one in CreateMeta.

(I was not convince with gitHash myself :p)

@aslakhellesoy
Copy link
Contributor

@aurelien-reeves look at how it's done in https://github.com/cucumber/cucumber-expressions/blob/main/java/src/test/java/io/cucumber/cucumberexpressions/CucumberExpressionParserTest.java - let me know if you want to pair.

@aurelien-reeves
Copy link
Contributor Author

@aslakhellesoy I have been able to make some progress with the java acceptance testing

But there is still some work to do with those, I am far from having finished those.

@aurelien-reeves aurelien-reeves marked this pull request as ready for review November 10, 2021 10:11
@aurelien-reeves aurelien-reeves merged commit 584e881 into main Nov 10, 2021
@aurelien-reeves aurelien-reeves deleted the setup-ci branch November 10, 2021 10:12
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.

3 participants