You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide provides instructions on how to set up and use the development container (`devcontainer`) environment to streamline testing and development for this project. With the DevContainer, you can work in a consistent environment configured with all the necessary dependencies and tools.
65
+
This guide provides instructions on how to set up and use the development
66
+
container (`devcontainer`) environment to streamline testing and development
67
+
for this project. With the DevContainer, you can work in a consistent environment
68
+
configured with all the necessary dependencies and tools.
66
69
67
70
#### Prerequisites
68
71
@@ -73,52 +76,67 @@ Before getting started, ensure you have the following installed:
73
76
74
77
#### Getting Started
75
78
76
-
1.**Open the Project in DevContainer**:
77
-
- Open the project in VSCode.
78
-
- When prompted to "Reopen in Container," select this option. If you’re not prompted, you can manually open the container by selecting **Remote-Containers: Reopen in Container** from the command palette (`F1` or `Ctrl+Shift+P`).
79
+
1.**Open the Project in DevContainer**:
79
80
80
-
2.**Container Setup**: The DevContainer environment will automatically build based on the configuration files provided (e.g., `.devcontainer/devcontainer.json`). This setup will install required dependencies, tools, and environment variables needed for the project.
81
+
Open the project in VSCode. When prompted to "Reopen in Container," select
82
+
this option. If you’re not prompted, you can manually open the container by
83
+
selecting **Remote-Containers: Reopen in Container** from the command palette
84
+
(`F1` or `Ctrl+Shift+P`).
85
+
86
+
2.**Container Setup**:
87
+
88
+
The DevContainer environment will automatically build based on the configuration
89
+
files provided (e.g., `.devcontainer/devcontainer.json`). This setup will install
90
+
required dependencies, tools, and environment variables needed for the project.
81
91
82
92
#### Available Commands
83
93
84
-
Once inside the DevContainer, you can use the following commands to run tests and CI workflows.
94
+
Once inside the DevContainer, you can use the following commands to run tests
95
+
and CI workflows.
85
96
86
-
#### 1. Run Tests with Bazelisk
97
+
#####1. Run Tests with Bazelisk
87
98
88
99
To run tests with Bazelisk using specific compilation options, use:
89
100
90
101
```bash
91
102
bazelisk-linux-amd64 test --copt=-DENABLE_LOGS_PREVIEW --test_output=errors --cache_test_results=no --copt=-DENABLE_TEST //exporters/otlp/...
0 commit comments