diff --git a/lint-workflow/ci/README.md b/lint-workflow/ci/README.md new file mode 100644 index 00000000..5fd76cfa --- /dev/null +++ b/lint-workflow/ci/README.md @@ -0,0 +1,16 @@ +# Dagger CI + +Learn more about Dagger's CI setup at [dagger.io](https://dagger.io/). +Read about the Python SDK here: [ci.dagger.dev/sdk/python](https://dagger-io.readthedocs.io/en/latest/index.html). + +## Running CI locally + +From the lint-workflow project, run: + +```bash +pipenv install -d # Installs dev dependencies + +# Run the CI locally +python ci/test.py + +``` diff --git a/lint-workflow/ci/test.py b/lint-workflow/ci/test.py index e63d013f..5da4088f 100644 --- a/lint-workflow/ci/test.py +++ b/lint-workflow/ci/test.py @@ -9,7 +9,7 @@ async def test(): async with dagger.Connection(config) as client: # get reference to the local project - src_id = await client.host().directory("lint-workflow").id() + src_id = await client.host().directory("").id() python = ( client.container()