Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (build): Add (initial) missing CI test coverage for DevEnv 🫙 #517

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,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
8 changes: 6 additions & 2 deletions devenv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ set -euo pipefail

# This script builds the project using containers technology (AKA "Docker").

docker build -t enola.dev-devenv --rm -f Dockerfile-DevEnv .
docker buildx build -t enola.dev-devenv --rm -f Dockerfile-DevEnv --cache-to type=gha --cache-from .

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
Loading