-
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 #5 from icebreakerone/kip/refactor-with-resource-api
Kip/refactor with resource api
- Loading branch information
Showing
50 changed files
with
5,659 additions
and
805 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,28 @@ | ||
name: test | ||
description: Run python tests | ||
inputs: | ||
folder: | ||
description: 'The folder to run tests in' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install ${{ inputs.folder }} dependencies | ||
shell: bash | ||
run: | | ||
cd ${{ inputs.folder }} | ||
pip install pipenv | ||
pipenv install --dev | ||
- name: Lint with ruff | ||
shell: bash | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
cd ${{ inputs.folder }} | ||
pipenv run ruff . | ||
- name: Run ${{ inputs.folder }} tests | ||
shell: bash | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
cd ${{ inputs.folder }} | ||
pipenv run pytest . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Python tests authentication | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
- name: Run tests | ||
uses: ./.github/templates/test/ | ||
with: | ||
folder: authentication |
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,17 @@ | ||
name: Python tests resource | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
- name: Run tests | ||
uses: ./.github/templates/test/ | ||
with: | ||
folder: resource |
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
File renamed without changes.
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
Oops, something went wrong.