Commit 96dd755
committed
Add GitHub Actions workflows and configuration for PR agent and TA-Lib installation
- Introduced a new configuration file `.pr_agent.toml` for the PR agent with model settings and GitHub action configurations.
- Updated the main GitHub Actions workflow to support multiple operating systems (Ubuntu, macOS, Windows) for Ruby builds.
- Added steps to install TA-Lib on each OS within the CI workflow.
- Created a new workflow file `.github/workflows/pr_agent.yml` to automate responses to pull requests and issue comments using the PR agent.
Refactor GitHub Actions workflows for improved Ruby setup and PR agent configuration
- Reorganized the main workflow to include Ruby setup after TA-Lib installation steps.
- Added the `OPENAI_KEY` environment variable to the PR agent workflow for enhanced functionality.
- Ensured consistency in Ruby environment setup across different operating systems.
Update Gemfile.lock and ta_lib_ffi.gemspec; enhance GitHub Actions workflow
- Removed the 'debase' dependency from Gemfile.lock and ta_lib_ffi.gemspec to streamline development dependencies.
- Updated the GitHub Actions workflow to include a step for setting up a tmate session, improving debugging capabilities during CI runs.
- Modified the Windows installation command for TA-Lib to use PowerShell's Invoke-WebRequest for better compatibility.
Refactor TA-Lib library to support dynamic library loading based on platform
- Updated the library loading mechanism in `lib/ta_lib.rb` to determine the appropriate file extension for the TA-Lib shared library based on the operating system (macOS, Linux, Windows).
- This change enhances compatibility and ensures that the correct library is loaded in different environments.
Update GitHub Actions workflow to streamline tmate session setup
- Added a step to set up a tmate session in the main workflow for improved debugging during CI runs.
- Removed the redundant tmate setup step that was previously included, ensuring a cleaner workflow configuration.
Refactor GitHub Actions workflow and TA-Lib library loading
- Removed the tmate session setup step from the GitHub Actions workflow to streamline the CI process.
- Updated the library loading mechanism in `lib/ta_lib.rb` to dynamically determine the correct path for the TA-Lib shared library based on the operating system, enhancing compatibility across macOS, Linux, and Windows.
Add tmate session setup to GitHub Actions workflow for improved debugging
Fix library path for TA-Lib in `lib/ta_lib.rb` to ensure correct loading on macOS and Windows. Updated file names to use hyphens instead of underscores for consistency with platform conventions.
Enhance GitHub Actions workflow with optional tmate debugging
- Added a `workflow_dispatch` trigger to the GitHub Actions workflow, allowing manual execution with an optional `debug_enabled` input.
- The tmate session setup step is now conditionally executed based on the `debug_enabled` input, improving flexibility for debugging during CI runs.1 parent 7e3c663 commit 96dd755
File tree
6 files changed
+87
-13
lines changed- .github/workflows
- lib
6 files changed
+87
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | | - | |
13 | | - | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
21 | 49 | | |
22 | 50 | | |
23 | 51 | | |
24 | 52 | | |
25 | 53 | | |
| 54 | + | |
26 | 55 | | |
27 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | 32 | | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
0 commit comments