File tree Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 6
6
required : false
7
7
description : " The python version to use"
8
8
default : " 3.11"
9
+ is-toolkit :
10
+ required : false
11
+ description : " Whether this is a toolkit package"
12
+ default : " false"
13
+ working-directory :
14
+ required : false
15
+ description : " Working directory for the installation (used for toolkits)"
16
+ default : " ."
9
17
10
18
runs :
11
19
using : " composite"
15
23
with :
16
24
python-version : ${{ inputs.python-version }}
17
25
18
- - name : Install dependencies
26
+ - name : Install toolkit dependencies
27
+ if : inputs.is-toolkit == 'true'
28
+ working-directory : ${{ inputs.working-directory }}
29
+ run : |
30
+ echo "Installing toolkit dependencies for ${{ inputs.working-directory }}"
31
+ make install
32
+ shell : bash
33
+
34
+ - name : Install libs dependencies
35
+ if : inputs.is-toolkit != 'true'
19
36
run : uv sync --dev --extra all
20
37
shell : bash
Original file line number Diff line number Diff line change 63
63
with :
64
64
fetch-depth : 0
65
65
66
- - name : Set up the environment
67
- uses : ./.github/actions/setup-uv-env
68
- with :
69
- python-version : " 3.10"
70
-
71
66
- name : Extract package name and version
72
67
working-directory : ${{ matrix.package }}
73
68
run : |
81
76
82
77
echo "Building $PACKAGE_NAME version $VERSION"
83
78
79
+ - name : Set up the environment
80
+ uses : ./.github/actions/setup-uv-env
81
+ with :
82
+ python-version : " 3.10"
83
+ is-toolkit : ${{ startsWith(matrix.package, 'toolkits/') }}
84
+ working-directory : ${{ matrix.package }}
85
+
84
86
- name : Run tests
85
87
working-directory : ${{ matrix.package }}
86
88
run : |
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project ]
6
6
name = " arcade_code_sandbox"
7
- version = " 1.0.1 "
7
+ version = " 1.0.2 "
8
8
description = " Arcade.dev LLM tools for running code in a sandbox"
9
9
requires-python = " >=3.10"
10
10
dependencies = [
You can’t perform that action at this time.
0 commit comments