-
Notifications
You must be signed in to change notification settings - Fork 0
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 #2 from Technoculture/ABDM-HIU-SDK
Generate SDK using a generator
- Loading branch information
Showing
397 changed files
with
43,367 additions
and
104 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,78 @@ | ||
# NOTE: This file is auto generated by OpenAPI Generator. | ||
# URL: https://openapi-generator.tech | ||
# | ||
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: Check and Tests | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
check: | ||
runs-on: ubuntu-latest # host's operating system | ||
steps: # each job consists of 1+ steps | ||
- name: Checkout commit # download the code from triggering commit | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python and Poetry | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd . | ||
poetry install --no-interaction --no-root | ||
- name: Format with Ruff | ||
run: | | ||
cd . | ||
poetry run ruff format --check . | ||
- name: Lint with Ruff | ||
run: | | ||
cd . | ||
poetry run ruff check -- . | ||
- name: Type check | ||
run: | | ||
cd abdm | ||
poetry run python -m mypy . | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: # each job consists of 1+ steps | ||
- name: Checkout commit # download the code from triggering commit | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python and Poetry | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd . | ||
poetry install --no-interaction --no-root | ||
- name: Test with pytest | ||
run: | | ||
cd . | ||
poetry run pytest -vvv | ||
|
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.