diff options
| author | 2022-10-26 15:22:36 +0100 | |
|---|---|---|
| committer | 2022-12-11 13:46:53 +0000 | |
| commit | 4c1997790a2b0ee295bfe6909570f888ad82db8c (patch) | |
| tree | abc0e5486b21aced482bb2344cfa6d1251dbdeb5 /.github | |
| parent | Update dockerignore to include dev dir (diff) | |
Add a dry run step to lint & test CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/lint-test.yaml | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 222deb24..52a3e57a 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -43,6 +43,9 @@ jobs:        - name: Run tests and generate coverage report          run: python -m pytest -n auto --cov pydis_core -q +      - name: Build and dry run the example bot to ensure deps can be installed & imported +        run: docker run --rm -it --env GUILD_ID=1234 --env IN_CI=true $(docker build -q -f .\dev\Dockerfile .) run python -m dev.bot +        # Prepare the Pull Request Payload artifact. If this fails, we        # we fail silently using the `continue-on-error` option. It's        # nice if this succeeds, but if it fails for any reason, it | 
