From cb0fdc930f1cefa1c7d93f80ccae7d35a5e43c2a Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Mon, 21 Nov 2022 15:46:39 -0700 Subject: [PATCH] Add readme - Update paths --- lint-workflow/ci/README.md | 16 ++++++++++++++++ lint-workflow/ci/test.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 lint-workflow/ci/README.md 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()