Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demos testing debug #67

Closed
wants to merge 287 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
8046ba2
test w key
Aarsh2001 Aug 9, 2023
78def5e
build codespaces using docker image
Aarsh2001 Aug 9, 2023
1a64cdc
build codespaces using docker image
Aarsh2001 Aug 9, 2023
cc718ad
build codespaces using docker image
Aarsh2001 Aug 9, 2023
0340697
build codespaces using docker image
Aarsh2001 Aug 9, 2023
c103fb9
install jupyter client
Aarsh2001 Aug 9, 2023
a974bf2
install jupyter client
Aarsh2001 Aug 9, 2023
3b4dc98
install jupyter client
Aarsh2001 Aug 9, 2023
f395b5e
resolved import issues
Aarsh2001 Aug 9, 2023
465041f
resolved import issues
Aarsh2001 Aug 9, 2023
bd7a80a
resolved a few more issues
Aarsh2001 Aug 9, 2023
619aaa4
resolved a few more issues
Aarsh2001 Aug 9, 2023
855638c
resolved a few more issues
Aarsh2001 Aug 9, 2023
1e5f3b9
resolved a few more issues
Aarsh2001 Aug 9, 2023
653c251
resolved a few more issues
Aarsh2001 Aug 9, 2023
d825f0d
resolved a few more issues
Aarsh2001 Aug 9, 2023
afa7f40
resolved a few more issues
Aarsh2001 Aug 9, 2023
cbbd6ea
resolved a few more issues
Aarsh2001 Aug 9, 2023
fdef2ca
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
1b00a38
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
7db74b8
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
ad4ad14
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
a51c37e
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
5154e49
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
a60e405
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
7ca7fac
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
ee4e681
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
9042c55
debug inside the container on codespaces
Aarsh2001 Aug 9, 2023
bb6427d
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
03e1780
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
e1816bb
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
3614b0e
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
f8d3564
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
d1cc1aa
debug inside the container on codespaces
Aarsh2001 Aug 10, 2023
74c59b3
add new user key
Aarsh2001 Aug 16, 2023
2c2827c
updated ivy
Aarsh2001 Aug 16, 2023
c8c1bbd
ci testing for all basics
Aarsh2001 Aug 25, 2023
fe2e97f
ci testing for all basics
Aarsh2001 Aug 25, 2023
761ba47
ci testing for all basics
Aarsh2001 Aug 25, 2023
3d69046
ci testing for all basics
Aarsh2001 Aug 25, 2023
8d223c7
ci testing for all basics
Aarsh2001 Aug 25, 2023
e0c1b6d
sequential execution of jobs
Aarsh2001 Aug 25, 2023
6f1622d
sequential execution of jobs
Aarsh2001 Aug 25, 2023
cfcbebe
sequential execution of jobs
Aarsh2001 Aug 25, 2023
a1714c2
sequential execution of jobs
Aarsh2001 Aug 25, 2023
92a98ca
sequential execution of jobs
Aarsh2001 Aug 25, 2023
a484dec
add exit codes
Aarsh2001 Aug 25, 2023
e3e68af
add exit codes
Aarsh2001 Aug 25, 2023
ef59ee9
add exit codes
Aarsh2001 Aug 25, 2023
4a4777b
add exit codes
Aarsh2001 Aug 25, 2023
22276b2
add exit codes
Aarsh2001 Aug 25, 2023
6b5d1d7
add exit codes
Aarsh2001 Aug 25, 2023
84c185a
add examples testing on the CI
Aarsh2001 Aug 25, 2023
51176f9
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
be090bc
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
bbba720
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
6c9c1ef
Merge remote-tracking branch 'upstream/main' into test
Aarsh2001 Aug 28, 2023
fff4d9b
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
61a6aa9
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
3bc18cb
implement notebook testing pipeline using unittest
Aarsh2001 Aug 28, 2023
489eac7
config based testing
Aarsh2001 Aug 29, 2023
6e60247
config based testing
Aarsh2001 Sep 1, 2023
5f2d70c
config based testing
Aarsh2001 Sep 3, 2023
70874a5
config based testing
Aarsh2001 Sep 27, 2023
9d4f2a9
testing successful for learn_the_basics
Aarsh2001 Sep 28, 2023
c5eb052
test infra setup for examples
Aarsh2001 Sep 29, 2023
0920cfc
Merge pull request #58 from Aarsh2001/configs
Aarsh2001 Sep 29, 2023
87e6544
test infra setup for examples
Aarsh2001 Sep 29, 2023
dd1a09b
test infra setup for examples
Aarsh2001 Sep 29, 2023
8b864ae
test infra setup for examples
Aarsh2001 Sep 29, 2023
3a6d5a8
test infra setup for examples
Aarsh2001 Sep 29, 2023
9c4cf1d
test infra setup for examples
Aarsh2001 Sep 29, 2023
17ceab1
test infra setup for examples
Aarsh2001 Sep 29, 2023
2c8cd60
test infra setup for examples
Aarsh2001 Sep 29, 2023
2f092c9
chore: sets fetch-depth to 1 for workflow testing
rishabgit Sep 30, 2023
313a30b
test infra setup for examples
Aarsh2001 Sep 30, 2023
f657192
pip install works
Aarsh2001 Oct 3, 2023
61554ae
gcp auth
Aarsh2001 Oct 4, 2023
437d7bf
gcp auth
Aarsh2001 Oct 4, 2023
c69101a
gcp auth
Aarsh2001 Oct 4, 2023
e57f4bd
gcp auth
Aarsh2001 Oct 4, 2023
6a6b385
gcp auth
Aarsh2001 Oct 4, 2023
c3d5e08
gcp auth
Aarsh2001 Oct 4, 2023
a59e375
gcp auth
Aarsh2001 Oct 4, 2023
efb60a4
gcp auth
Aarsh2001 Oct 4, 2023
87386b2
gcp auth
Aarsh2001 Oct 4, 2023
191294b
gcp auth
Aarsh2001 Oct 4, 2023
c2b365a
gcp auth
Aarsh2001 Oct 4, 2023
4452aed
gcp auth
Aarsh2001 Oct 4, 2023
68dfd24
gcp auth
Aarsh2001 Oct 4, 2023
d6d6c6e
gcp auth
Aarsh2001 Oct 4, 2023
4ad5690
gcp auth
Aarsh2001 Oct 4, 2023
d5f06ac
gcp auth
Aarsh2001 Oct 4, 2023
4ad8aec
gcp auth
Aarsh2001 Oct 4, 2023
498955d
gcp auth
Aarsh2001 Oct 4, 2023
d7f5ca6
gcp auth
Aarsh2001 Oct 4, 2023
6e2038a
gcp auth
Aarsh2001 Oct 4, 2023
d6e9ffd
gcp auth
Aarsh2001 Oct 4, 2023
87dd430
gcp auth
Aarsh2001 Oct 4, 2023
e012bc6
gcp auth
Aarsh2001 Oct 4, 2023
ab0edeb
gcp auth
Aarsh2001 Oct 4, 2023
286f474
gcp auth
Aarsh2001 Oct 4, 2023
c36b364
gcp auth
Aarsh2001 Oct 4, 2023
356f660
gcp auth
Aarsh2001 Oct 4, 2023
74d1c62
gcp auth
Aarsh2001 Oct 4, 2023
753be7f
gcp auth
Aarsh2001 Oct 4, 2023
f608c43
gcp auth
Aarsh2001 Oct 4, 2023
a4fce99
gcp auth
Aarsh2001 Oct 4, 2023
a068487
gcp auth
Aarsh2001 Oct 4, 2023
db3e6cd
gcp auth
Aarsh2001 Oct 4, 2023
03f7ead
gcp auth
Aarsh2001 Oct 4, 2023
b70bcb8
gcp auth
Aarsh2001 Oct 4, 2023
a870116
gcp auth
Aarsh2001 Oct 4, 2023
41238a3
gcp auth
Aarsh2001 Oct 4, 2023
e51eff1
gcp auth
Aarsh2001 Oct 4, 2023
9fa42a0
gcp auth
Aarsh2001 Oct 4, 2023
30f27fc
gcp auth
Aarsh2001 Oct 4, 2023
f95f025
gcp auth
Aarsh2001 Oct 4, 2023
5fae99d
gcp auth
Aarsh2001 Oct 4, 2023
a95f32e
gcp auth
Aarsh2001 Oct 4, 2023
7d70148
gcp auth
Aarsh2001 Oct 4, 2023
8e15077
gcp auth
Aarsh2001 Oct 4, 2023
acae99c
gcp auth
Aarsh2001 Oct 4, 2023
10f312f
gcp auth
Aarsh2001 Oct 4, 2023
0dba459
gcp auth
Aarsh2001 Oct 4, 2023
b4cd110
gcp auth
Aarsh2001 Oct 4, 2023
403dd01
gcp auth
Aarsh2001 Oct 4, 2023
a746580
gcp auth
Aarsh2001 Oct 4, 2023
3828e22
gcp auth
Aarsh2001 Oct 4, 2023
f8198b6
gcp auth
Aarsh2001 Oct 4, 2023
c705f5c
gcp auth
Aarsh2001 Oct 4, 2023
4a279fc
gcp auth
Aarsh2001 Oct 4, 2023
13afe5c
gcp auth
Aarsh2001 Oct 4, 2023
9088ec4
gcp auth
Aarsh2001 Oct 4, 2023
0624f36
gcp auth
Aarsh2001 Oct 4, 2023
a0a7a00
gcp auth
Aarsh2001 Oct 4, 2023
c0d030a
gcp auth
Aarsh2001 Oct 4, 2023
abe306b
gcp auth
Aarsh2001 Oct 4, 2023
47ccfab
gcp auth
Aarsh2001 Oct 4, 2023
a6fdeac
gcp auth
Aarsh2001 Oct 4, 2023
fa40bac
gcp auth
Aarsh2001 Oct 4, 2023
f464a81
gcp auth
Aarsh2001 Oct 4, 2023
35109a6
gcp auth
Aarsh2001 Oct 4, 2023
a40989e
gcp auth
Aarsh2001 Oct 4, 2023
5038644
gcp auth
Aarsh2001 Oct 4, 2023
413c01e
gcp auth
Aarsh2001 Oct 4, 2023
68fa487
gcp auth
Aarsh2001 Oct 4, 2023
dc65e88
gcp auth
Aarsh2001 Oct 4, 2023
9a57cb2
gcp auth
Aarsh2001 Oct 4, 2023
ed3572b
gcp auth
Aarsh2001 Oct 4, 2023
cb32d81
gcp auth
Aarsh2001 Oct 4, 2023
5c52185
gcp auth
Aarsh2001 Oct 4, 2023
ebcbf66
gcp auth
Aarsh2001 Oct 4, 2023
6ff0449
gcp auth
Aarsh2001 Oct 4, 2023
3508ec7
gcp auth
Aarsh2001 Oct 4, 2023
0c06f3c
gcp auth
Aarsh2001 Oct 4, 2023
4f418cc
gcp auth
Aarsh2001 Oct 4, 2023
38e7d18
gcp auth
Aarsh2001 Oct 4, 2023
27aef82
gcp auth
Aarsh2001 Oct 4, 2023
1d53183
gcp auth
Aarsh2001 Oct 4, 2023
b752f7d
gcp auth
Aarsh2001 Oct 4, 2023
abdc37d
gcp auth
Aarsh2001 Oct 4, 2023
710211f
gcp auth
Aarsh2001 Oct 6, 2023
b8abafe
testing alexnet with the CI pipeline
Aarsh2001 Oct 6, 2023
6951a8b
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
b68a24a
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
e7bde08
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
8109adc
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
b08ed07
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
5d325ed
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
2bdb61e
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
5372b9d
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
bd59d21
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
250afa1
minor modifications to gcp_auth
Aarsh2001 Oct 6, 2023
93211d0
minor modifications to gcp_auth
Aarsh2001 Oct 9, 2023
5747420
clear workspace cache
Aarsh2001 Oct 9, 2023
3b17950
changed examples demo, also trigger all basics
Aarsh2001 Oct 9, 2023
b096f66
changed examples demo, also trigger all basics
Aarsh2001 Oct 9, 2023
d719ea7
removed the dockerfile and devcontainer and moved the auth scripts to…
vedpatwardhan Oct 23, 2023
7c1601a
reverted changes to 03_compile_code
vedpatwardhan Oct 25, 2023
8e64bf7
fixed merge conflicts
vedpatwardhan Oct 25, 2023
eeb7b50
rename jobs
Aarsh2001 Oct 25, 2023
8584f44
rename jobs
Aarsh2001 Oct 25, 2023
a74021e
rename jobs
Aarsh2001 Oct 25, 2023
24a2938
rename jobs
Aarsh2001 Oct 25, 2023
41f15c5
rename jobs
Aarsh2001 Oct 25, 2023
fabd1d0
rename jobs
Aarsh2001 Oct 25, 2023
2d27713
rename jobs
Aarsh2001 Oct 25, 2023
4416e64
rename jobs
Aarsh2001 Oct 25, 2023
ebeeec9
rename jobs
Aarsh2001 Oct 25, 2023
2e6b825
rename jobs
Aarsh2001 Oct 25, 2023
bd75d3a
rename jobs
Aarsh2001 Oct 25, 2023
fcee773
refactor CI/CD
Aarsh2001 Oct 25, 2023
724db59
refactor CI/CD
Aarsh2001 Oct 25, 2023
96cfbb1
refactor CI/CD
Aarsh2001 Oct 25, 2023
666b1ee
refactor CI/CD
Aarsh2001 Oct 25, 2023
2756ccf
refactor CI/CD
Aarsh2001 Oct 25, 2023
0de04bd
refactor CI/CD
Aarsh2001 Oct 25, 2023
be14759
refactor CI/CD
Aarsh2001 Oct 25, 2023
e47bb5d
refactor CI/CD
Aarsh2001 Oct 25, 2023
a4844c8
refactor CI/CD
Aarsh2001 Oct 25, 2023
56eac6b
refactor CI/CD
Aarsh2001 Oct 25, 2023
cb87d18
refactor CI/CD
Aarsh2001 Oct 25, 2023
0da8d77
refactor CI/CD
Aarsh2001 Oct 29, 2023
563577c
fix: refactored the pipeline into a new_tests folder
vedpatwardhan Nov 2, 2023
a1cb6c9
Merge branch 'ci-testing' of https://github.com/unifyai/demos into ci…
vedpatwardhan Nov 2, 2023
61c7c08
minor change
vedpatwardhan Nov 2, 2023
f7c3327
minor change
vedpatwardhan Nov 2, 2023
909e3f2
reverted a change to guides
vedpatwardhan Nov 2, 2023
1f29829
reverted a change to guides
vedpatwardhan Nov 2, 2023
a1c686a
reverted a change to guides
vedpatwardhan Nov 2, 2023
4dd0dc9
fix: got the tests passing for all the demos except 02_unify_code, mm…
vedpatwardhan Nov 3, 2023
bb531d1
another change
vedpatwardhan Nov 3, 2023
cc18665
minor change
vedpatwardhan Nov 3, 2023
41a32dc
minor change
vedpatwardhan Nov 3, 2023
10b6941
changes to basics
vedpatwardhan Nov 3, 2023
aa96717
minor change
vedpatwardhan Nov 3, 2023
6cd3014
another minor change
vedpatwardhan Nov 3, 2023
cfa4545
minor change
vedpatwardhan Nov 3, 2023
5d2eb28
fixed indentation
vedpatwardhan Nov 3, 2023
050b7f0
minor change
vedpatwardhan Nov 3, 2023
2dcfdda
removed ivy clone as it isn't required
vedpatwardhan Nov 3, 2023
95ddd7b
minor changes
vedpatwardhan Nov 3, 2023
043a504
debug statement for path
vedpatwardhan Nov 3, 2023
2a2a05b
updated the path to the notebook
vedpatwardhan Nov 3, 2023
852286e
removed nvcc installation
vedpatwardhan Nov 3, 2023
fc54e44
added echo statement
vedpatwardhan Nov 3, 2023
7d077e5
echoed the api key
vedpatwardhan Nov 3, 2023
82129c5
minor change
vedpatwardhan Nov 3, 2023
1631157
another minor change
vedpatwardhan Nov 3, 2023
bdd43fc
debug
vedpatwardhan Nov 3, 2023
a976720
moved secret logic outside script
vedpatwardhan Nov 3, 2023
80fac0d
removed docker usage from the _basic-test workflow
vedpatwardhan Nov 3, 2023
91da64c
reverted the change
vedpatwardhan Nov 3, 2023
0d4be42
updated path
vedpatwardhan Nov 3, 2023
8e7cf9e
another minor change
vedpatwardhan Nov 3, 2023
1624e7b
minor change
vedpatwardhan Nov 3, 2023
e3324a8
minor change
vedpatwardhan Nov 3, 2023
1f7b5d9
updated even triggers
vedpatwardhan Nov 3, 2023
a7ed2bf
updated triggers further
vedpatwardhan Nov 3, 2023
ece7946
reverted it
vedpatwardhan Nov 3, 2023
a553a68
Merge branch 'main' of https://github.com/unifyai/demos into ci-testing
vedpatwardhan Nov 3, 2023
fc3397e
Added secrets inherit
vedpatwardhan Nov 3, 2023
dc448fe
added secrets: inherit to the _demo test yml
vedpatwardhan Nov 3, 2023
24e4bf0
removed additional line
vedpatwardhan Nov 3, 2023
587f5e6
uncommented the gpu test for the examples_and_demos
vedpatwardhan Nov 3, 2023
43b1c6b
minro change
vedpatwardhan Nov 3, 2023
a102cc2
Tried renaming new_tests to tests again
vedpatwardhan Nov 3, 2023
2e10bdf
Removed new_tests
vedpatwardhan Nov 3, 2023
d86f765
removed the rest of the files
vedpatwardhan Nov 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/_basic-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: test-basics
on: [workflow_call, workflow_dispatch]

jobs:
cpu:
runs-on: ubuntu-latest #ToDo: ${{ needs.build.outputs.os }}
strategy:
fail-fast: false
matrix:
mods: [01_write_ivy_code, 02_unify_code, 03_trace_code, 04_transpile_code, 05_lazy_vs_eager,
06_how_to_use_decorators, 07_transpile_any_library, 08_transpile_any_model,
09_write_a_model_using_ivy]

steps:
- name: Checkout Demos🛎
uses: actions/checkout@v4
with:
repository: unifyai/demos
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Run Integration testing for Basic Demos
id: tests
run: |
cd demos
docker run -v "$(pwd)":/ivy/demos unifyai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} learn_the_basics/${{ matrix.mods }}.ipynb
continue-on-error: true

- name: Check on failures
if: steps.tests.outcome!= 'success'
run: exit 1
35 changes: 35 additions & 0 deletions .github/workflows/_demo-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test-examples
on: [workflow_call, workflow_dispatch]

jobs:
gpu:
runs-on: self-hosted #ToDo: ${{ needs.build.outputs.os }}
strategy:
fail-fast: false
matrix:
modules: [alexnet_demo, bert_demo, image_segmentation_with_ivy_unet, mmpretrain_to_jax, resnet_demo, torch_to_jax]

steps:
- name: Clean repository
run:
sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE

- name: Checkout Demos🛎
uses: actions/checkout@v4
with:
repository: unifyai/demos
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Run Integration Tests for Enterprise Demos
run: |
cd demos
docker run -v "$(pwd)":/ivy/demos unifyai/ivy:latest-gpu demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} examples_and_demos/${{ matrix.modules }}.ipynb
continue-on-error: true

- name: Check on failures
if: steps.tests.outcome!= 'success'
run: exit 1

71 changes: 71 additions & 0 deletions .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: E2E-QA-and-Deployment
on:
workflow_dispatch:
push:
branches:
- ci-testing
pull_request:

permissions:
actions: read

jobs:
start-vm:
runs-on: ubuntu-latest
if: always() # Run this job always, regardless of the status of run-test-basics
steps:
- name: Checkout Demos🛎
uses: actions/checkout@v2
with:
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Install clients for GCP/Mongo
run: |
pip3 install pymongo google-api-python-client paramiko==2.7.1

- name: Start GPU VM
run: |
cd demos/tests/auth
mkdir -p ~/.ssh
touch ~/.ssh/id_rsa
echo "${{ secrets.SSH_KEY }}" > $HOME/.ssh/id_rsa
chmod 600 $HOME/.ssh/id_rsa
python3 db_auth.py ${{ secrets.DB_ENDPOINT }} ${{ secrets.DB_OBJ_ID }}
python3 vm_auth.py ${{ secrets.SSH_USERNAME }} ${{ secrets.SSH_PASSPHRASE }} "false"

run-test-example-demos:
needs: start-vm
name: examples-and-demos
uses: ./.github/workflows/_demo-test.yml
secrets: inherit

stop-vm:
needs: run-test-example-demos
runs-on: ubuntu-latest
if: always() # Run this job always, regardless of the status of run-test
steps:
- name: Checkout Demos🛎
uses: actions/checkout@v2
with:
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Install clients for GCP/Mongo
run: |
pip3 install pymongo google-api-python-client paramiko==2.7.1

- name: Stop GPU VM
run: |
cd demos/tests/auth
python3 db_auth.py ${{ secrets.DB_ENDPOINT }} ${{ secrets.DB_OBJ_ID }}
python3 vm_auth.py ${{ secrets.SSH_USERNAME }} ${{ secrets.SSH_PASSPHRASE }} "true"

run-test-basic-demos:
name: learn-the-basics
uses: ./.github/workflows/_basic-test.yml
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.vscode
.idea/*
**/.ipynb_checkpoints/*
__pycache__/
**pem**
**fn_path_cache**
*.DS_Store
Expand Down
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3
args:
- "--preview"
- repo: https://github.com/PyCQA/autoflake
rev: v2.1.1
hooks:
- id: autoflake
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: ^.*__init__.py$
- repo: https://github.com/PyCQA/docformatter
rev: v1.6.3
hooks:
- id: docformatter
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle

Loading
Loading