Skip to content

Commit

Permalink
fix (build): Add (initial) missing CI test coverage for DevEnv 🫙
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Feb 20, 2024
1 parent 3be6a6c commit c511fb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,12 @@ jobs:
shell: bash
run: asdf reshim

- run: ./tools/test-ci/test.bash
- name: Run CI Tests
run: ./tools/test-ci/test.bash

# TODO https://github.com/enola-dev/enola/issues/458 turn this "upside down"...
- name: Test Development Environment (DevEnv)
run: ./devenv.bash

# Build docs/ into site/ (not just on main branch but also for pull requests, as test)
- name: Build Docs Site
Expand Down
6 changes: 5 additions & 1 deletion devenv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ set -euo pipefail

docker build -t enola.dev-devenv --rm -f Dockerfile-DevEnv .

docker run -v .:/workspace/:Z -it --rm enola.dev-devenv
set +u
if [ -z "$CI" ]; then
docker run -v "$PWD":/workspace/:Z -it --rm enola.dev-devenv
fi
set -u

0 comments on commit c511fb0

Please sign in to comment.