File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,11 @@ permissions:
1212 contents : read
1313
1414env :
15- mock_version_python3 : " 5.0.1"
16- requests_version_python3 : " 2.28.2"
1715 ACCOUNT_ID : ${{ secrets.ACCOUNT_ID }}
1816 API_KEY : ${{ secrets.API_KEY }}
1917
2018jobs :
21- build-and-test-python3 :
19+ build-and-test :
2220 runs-on : ubuntu-latest
2321 steps :
2422 - uses : actions/checkout@v4
@@ -28,12 +26,17 @@ jobs:
2826 python-version : " 3.10.14"
2927 - name : Install test dependencies
3028 run : |
31- pip install requests=="${{ env.requests_version_python3 }}"
29+ pip install -e .
30+ pip install -r requirements-dev.txt
31+ - name : Run linters
32+ run : |
33+ pip install -U pre-commit
34+ pre-commit run -v --all-files
3235 - name : Run tests
3336 run : |
3437 python -m unittest discover
3538
36- run-integration-tests-python3 :
39+ run-integration-tests :
3740 runs-on : ubuntu-latest
3841 if : ${{ github.ref == 'refs/heads/master' }}
3942 steps :
4245 uses : actions/setup-python@v3
4346 with :
4447 python-version : " 3.10.14"
45- - name : run- integration- tests-python3
48+ - name : Run integration tests
4649 run : |
47- pip3 install .
48- python3 test_integration_app/main.py
50+ pip install .
51+ python test_integration_app/main.py
Original file line number Diff line number Diff line change 66
77``` sh
88# install necessary Python version
9- pyenv install 3.13.2
9+ pyenv install 3.13.2
1010
11- # create a virtual enviroment
11+ # create a virtual environment
1212pyenv virtualenv 3.13.2 v3.13
1313pyenv activate v3.13
1414```
You can’t perform that action at this time.
0 commit comments