Skip to content

Enable YAML tests #11

Open
gabriel-pq wants to merge 5 commits into
mainfrom
feature/CAAS-3169_tst_1
Open

Enable YAML tests #11
gabriel-pq wants to merge 5 commits into
mainfrom
feature/CAAS-3169_tst_1

Conversation

@gabriel-pq

Copy link
Copy Markdown
Contributor

This PR is a WIP, due to time limitations on the original ticket.

I integrated LocalStack in the YAML, so we can use our bespoke code for download-or-upload artefacts.

On ubuntu the majority of the tests are passing, we need to create some files/folders necessary for the Download tests, as atm they fail due to the files/folders not bein present.

On macos we get this error when trying to start LocalStack: Error: Docker could not be found on the system.

On windows we get this error when trying to start LocalStack: Error: 'charmap' codec can't encode character '\U0001f433' in position 35: character maps to <undefined>

Latest pipeline: https://github.com/NHSDigital/transfer-artifact/actions/runs/13057951252

frannhsd and others added 5 commits January 30, 2025 14:52
CAAS-3169: update linting and tests

# This is the commit message #2:

CAAS-3169: update linting and tests - yml

# This is the commit message #3:

CAAS-3169: fix linting in pipeline

# This is the commit message #4:

CAAS-3169: fix linting in pipeline - 2

# This is the commit message #5:

CAAS-3169: mock bucket tests?

# This is the commit message #6:

CAAS-3169: mock bucket tests - 2

# This is the commit message #7:

CAAS-3169: mock bucket tests - maybe too much?

# This is the commit message #8:

CAAS-3169: mock bucket tests - remove

# This is the commit message #9:

CAAS-3169: change a bit the tests

# This is the commit message #10:

CAAS-3169: checking for test environment, but GitHub Actions doesn't set NODE_ENV

# This is the commit message #11:

CAAS-3169: update local stack

# This is the commit message #12:

CAAS-3169: debug mock bucket

# This is the commit message #13:

CAAS-3169: more debugging

CAAS-3169: more debugging

CAAS-3169: add little delay

CAAS-3169: starting to have mixed feelings for this test

CAAS-3169: it can't access the /tmp/localstack directory

CAAS-3169: oof

CAAS-3169: new attempt with ports to communicate

CAAS-3169: goinng back to the issue of before

CAAS-3169: indent

CAAS-3169: rely on localstack

CAAS-3169: rely on localstack 1

CAAS-3169: rely on localstack 2

CAAS-3169: rely on localstack 3

CAAS-3169: rely on localstack 4

CAAS-3169: rely on localstack 5

CAAS-3169: rely on localstack 5

CAAS-3169: rely on localstack 6
@sonarqubecloud

sonarqubecloud Bot commented Feb 3, 2025

Copy link
Copy Markdown

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