-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vishnu Challa <[email protected]>
- Loading branch information
Vishnu Challa
committed
Aug 1, 2024
1 parent
f023a1c
commit cf8ee0e
Showing
6 changed files
with
74 additions
and
4 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,18 @@ | ||
name: Builders | ||
on: | ||
workflow_call: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: build and install | ||
run: | | ||
pip install . |
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,23 @@ | ||
name: CI tests | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
lint: | ||
uses: ./.github/workflows/pylint.yaml | ||
|
||
build: | ||
uses: ./.github/workflows/builders.yaml | ||
|
||
tests: | ||
needs: build | ||
uses: ./.github/workflows/tests.yaml | ||
secrets: inherit | ||
|
File renamed without changes.
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,23 @@ | ||
name: Execute tests | ||
on: | ||
workflow_call: | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Install bats | ||
uses: bats-core/[email protected] | ||
with: | ||
bats-version: 1.10.0 | ||
support-install: false | ||
assert-install: false | ||
detik-install: false | ||
file-install: false | ||
|
||
- name: Execute Tests | ||
run: | | ||
ls | ||
env: | ||
ES_SERVER: ${{ secrets.ES_SERVER }} | ||
ES_INDEX: ${{ secrets.ES_INDEX }} |
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,8 @@ | ||
#!/usr/bin/env bats | ||
# vi: ft=bash | ||
# shellcheck disable=SC2086,SC2030,SC2031,SC2164 | ||
|
||
|
||
@test "orion test" { | ||
run_cmd orion --help | ||
} |