-
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
260 additions
and
445 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and Test | ||
|
||
on: ["push"] | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
name: Python Black Lint Check | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Python dependencies | ||
run: pip install black nbqa | ||
|
||
- name: Run Black on Python files | ||
run: black --check $(find . -type f -name "*.py") | ||
build: | ||
uses: ./.github/workflows/docker.yml | ||
with: | ||
registry-dockerhub-enable: ${{ github.event_name != 'pull_request' }} | ||
registry-repo-name: AGiXT | ||
registry-readme: ./docs/README.md | ||
secrets: | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
test-agixt-postgres: | ||
uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main | ||
with: | ||
notebook: tests/endpoint-tests.ipynb | ||
image: ${{ needs.build.outputs.primary-image }} | ||
port: "7437" | ||
database-type: "postgresql" | ||
report-name: "agixt-postgres-tests" | ||
needs: build | ||
test-agixt-sqlite: | ||
uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main | ||
with: | ||
notebook: tests/endpoint-tests.ipynb | ||
image: ${{ needs.build.outputs.primary-image }} | ||
port: "7437" | ||
database-type: "sqlite" | ||
report-name: "agixt-sqlite-tests" | ||
needs: build |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.