sus-fixtures-agent-context 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/context/github-actions.md +13 -21
- data/lib/sus/fixtures/agent/context/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f99bc096f2a1bc77d3c702f8ec745d420ab2918a533dae5d2a93e7e32b94fee6
|
4
|
+
data.tar.gz: c3d14c75445a19902b69844095909d21da84a1191640efcb8c401d7c202d75cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64f30640f4c43a79cd350601099e94d5022f3a8ef20c9ff8ef3592796d2dae3913cec6f6f755bfc46465d89434fdb2e0ca4e6ec8feefe05154263b7f717dedc
|
7
|
+
data.tar.gz: '086efcd646048d74c852cfba9b85ddfd803cfb5e130ff57d9a2d2d5591ea638372a476c27c013037822a0f05569c3099eb0bc2b85c7e4a6d1be7c56edba2e9fb'
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/context/github-actions.md
CHANGED
@@ -4,12 +4,20 @@ This guide explains how to integrate the `sus-fixtures-agent-context` gem with G
|
|
4
4
|
|
5
5
|
## Workflow
|
6
6
|
|
7
|
-
In order to use this gem in GitHub Actions, you can set up a workflow that includes the Ollama server. Here is an example of how to configure your `.github/workflows/test.
|
7
|
+
In order to use this gem in GitHub Actions, you can set up a workflow that includes the Ollama server. Here is an example of how to configure your `.github/workflows/test-agent-context.yaml`:
|
8
8
|
|
9
9
|
```yaml
|
10
10
|
name: Test Agent Context
|
11
11
|
|
12
|
-
on:
|
12
|
+
on:
|
13
|
+
push:
|
14
|
+
paths:
|
15
|
+
- 'context/**'
|
16
|
+
- 'test/.agent/**'
|
17
|
+
pull_request:
|
18
|
+
paths:
|
19
|
+
- 'context/**'
|
20
|
+
- 'test/.agent/**'
|
13
21
|
|
14
22
|
permissions:
|
15
23
|
contents: read
|
@@ -17,8 +25,7 @@ permissions:
|
|
17
25
|
jobs:
|
18
26
|
test:
|
19
27
|
name: Agent Context
|
20
|
-
runs-on:
|
21
|
-
continue-on-error: ${{matrix.experimental}}
|
28
|
+
runs-on: ubuntu-latest
|
22
29
|
|
23
30
|
services:
|
24
31
|
ollama:
|
@@ -26,26 +33,11 @@ jobs:
|
|
26
33
|
ports:
|
27
34
|
- 11434:11434
|
28
35
|
|
29
|
-
strategy:
|
30
|
-
matrix:
|
31
|
-
os:
|
32
|
-
- ubuntu
|
33
|
-
|
34
|
-
ruby:
|
35
|
-
- "3.4"
|
36
|
-
|
37
|
-
experimental: [false]
|
38
|
-
|
39
|
-
include:
|
40
|
-
- os: ubuntu
|
41
|
-
ruby: head
|
42
|
-
experimental: true
|
43
|
-
|
44
36
|
steps:
|
45
37
|
- uses: actions/checkout@v4
|
46
38
|
- uses: ruby/setup-ruby@v1
|
47
39
|
with:
|
48
|
-
ruby-version:
|
40
|
+
ruby-version: ruby
|
49
41
|
bundler-cache: true
|
50
42
|
|
51
43
|
- name: Pull Model
|
@@ -56,4 +48,4 @@ jobs:
|
|
56
48
|
run: bundle exec sus test/.agent/context
|
57
49
|
```
|
58
50
|
|
59
|
-
Note that the timeout is set to 30
|
51
|
+
Note that the timeout is set to 30 minutes to allow sufficient time for the Ollama server to start and for the tests to run.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|