Skip to content

Commit

Permalink
fix (build): Adding missing test coverage for devcontainer.json (see e…
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Feb 5, 2025
1 parent fe95192 commit 2aaf57a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ concurrency:
cancel-in-progress: true

jobs:
devcontainer:
# https://github.com/orgs/community/discussions/25722
if:
(github.repository == 'enola-dev/enola') &&
(github.event.pull_request.draft == false)
runs-on: ubuntu-latest
steps:
- name: DevContainer
uses: devcontainers/ci@v0.3
with:
# TODO imageName: ghcr.io/example/example-devcontainer
# TODO cacheFrom: ghcr.io/example/example-devcontainer
# TODO push: always
push: never
runCmd: echo DevContainer OK!
# TODO runCmd: ./tools/test-ci/test.bash

build:
# https://github.com/orgs/community/discussions/25722
if:
Expand Down Expand Up @@ -150,6 +167,7 @@ jobs:
if: ${{ github.event_name == 'push' }}
run: ./tools/docs/build.bash

# TODO Move *BEFORE* ./tools/test-ci/test.bash, so that "dirty" changes cause build to abort
- name: pre-commit run --all-files
run: .venv/bin/pre-commit run --all-files

Expand Down

0 comments on commit 2aaf57a

Please sign in to comment.