-
-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #395 from kyegomez/revert-388-fix-ci-2
Revert "[WIP] Get CI Passing V2"
- Loading branch information
Showing
85 changed files
with
1,007 additions
and
6,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Init Environment" | ||
description: "Initialize environment for tests" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Checkout actions | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install and configure Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
- name: Load cached venv | ||
id: cached-poetry-dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: .venv | ||
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
- name: Install dependencies | ||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | ||
run: poetry install --no-interaction --no-root --with test --with dev --all-extras | ||
shell: bash | ||
|
||
- name: Activate venv | ||
run: | | ||
source .venv/bin/activate | ||
echo PATH=$PATH >> $GITHUB_ENV | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,14 @@ | ||
--- | ||
documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: ["docs/**", "*.md"] | ||
tests: | ||
- changed-files: | ||
- any-glob-to-any-file: "tests/**" | ||
agents: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/agents/**" | ||
artifacts: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/artifacts/**" | ||
chunkers: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/chunkers/**" | ||
cli: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/cli/**" | ||
loaders: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/loaders/**" | ||
memory: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/memory/**" | ||
models: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/models/**" | ||
prompts: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/prompts/**" | ||
structs: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/structs/**" | ||
telemetry: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/telemetry/**" | ||
tokenizers: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/tokenizers/**" | ||
tools: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/tools/**" | ||
utils: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/utils/**" | ||
workers: | ||
- changed-files: | ||
- any-glob-to-any-file: "swarms/workers/**" | ||
rust: | ||
- changed-files: | ||
- any-glob-to-any-file: "**/*.rs" | ||
# this is a config file for the github action labeler | ||
|
||
# Add 'label1' to any changes within 'example' folder or any subfolders | ||
example_change: | ||
- example/** | ||
|
||
# Add 'label2' to any file changes within 'example2' folder | ||
example2_change: example2/* | ||
|
||
# Add label3 to any change to .txt files within the entire repository. | ||
# Quotation marks are required for the leading asterisk | ||
text_files: | ||
- '**/*.txt' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.