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

APDFL-5452: Add CI for samples #32

Conversation

datalogics-saharay
Copy link
Contributor

@datalogics-saharay datalogics-saharay commented Feb 27, 2024

Let's add CI for the samples, so that we can ensure that they can be built and run.

Fulfills JIRA issue: APDFL-5452

@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch 13 times, most recently from 64f9d5d to 2e20376 Compare March 4, 2024 23:02
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch 17 times, most recently from 322df59 to 14def04 Compare March 12, 2024 17:00
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch 2 times, most recently from e11c732 to a1d1823 Compare March 13, 2024 15:36
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch 4 times, most recently from acf45d4 to 0a2d5ed Compare March 13, 2024 19:42
- Also, add some debugging code to list files to the workflow file.
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch from 0a2d5ed to 3a1d23c Compare March 13, 2024 19:57
- Also, remove the debugging statements.
- The upload-artifact action supposedly supports relative paths, but
  it threw an error when relative paths were used. There also seems to
  be a few open bugs reported on GitHub, here's one: actions/upload-artifact#176.

- Since some of the samples dump their output in the parent directory, let's
  try a workaround to see if we can archive them in the workflow run.
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch from 4e19b83 to c4c3950 Compare March 13, 2024 21:21
- The workaround that was attempted to access the parent directory
  where some samples were putting their output didn't work because
  the upload-artifact action tries to find the common ancestor and searches
  there. Therefore, it didn't end up finding the output files. Let's remove
  the attempted workaround.

- Let's just modify the samples to place their output in the current working
  directory, which is the same as the rest of the samples.
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch from 0fa5362 to 5885937 Compare March 14, 2024 16:31
- Let's make the workflow a bit more readable.

- Let's make sure we run the new AddQRCode sample in CI.
@datalogics-saharay datalogics-saharay force-pushed the APDFL-5452-add-CI-for-NET-samples branch from 5885937 to 346423f Compare March 14, 2024 16:51
@datalogics-saharay datalogics-saharay marked this pull request as ready for review March 14, 2024 17:06
@datalogics-aarroyo datalogics-aarroyo self-assigned this Mar 19, 2024
@datalogics-aarroyo datalogics-aarroyo merged commit 28aeff2 into datalogics:develop Mar 20, 2024
243 checks passed
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