File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
2626 uses : actions/checkout@v2
2727 with :
2828 ref : ${{ inputs.branch }}
29-
29+
3030 - name : Set up Python 3.8
3131 uses : actions/setup-python@v2
3232 with :
3333 python-version : 3.8
34-
34+
3535 - name : Install dependencies
3636 run : |
3737 python -m pip install --upgrade pip
4040 - name : Run unit tests
4141 run : |
4242 pytest --cov=src/ tests/unit --cov-report=xml --alluredir=allure-results
43-
43+
4444 - name : Get Allure history
4545 uses : actions/checkout@v2
4646 if : always()
@@ -57,12 +57,12 @@ jobs:
5757 github-key : ${{ secrets.GITHUB_TOKEN }}
5858
5959 - name : Upload coverage report
60- uses : actions/upload-artifact@v2
60+ uses : actions/upload-artifact@v4
6161 continue-on-error : true
6262 with :
6363 name : pytest-coverage-report
6464 path : coverage.xml
65-
65+
6666 - name : Extract coverage percent
6767 id : coverage
6868 if : github.event_name == 'push'
7474 colour=$(if [ $percentage_whole -ge 80 ]; then echo "green"; else echo "orange"; fi)
7575 echo "colour=$colour" >> $GITHUB_OUTPUT
7676 echo "covered=$percentage_whole" >> $GITHUB_OUTPUT
77-
77+
7878 - name : Create Coverage Badge
7979 uses :
schneegans/[email protected] 8080 if : github.event_name == 'push'
Original file line number Diff line number Diff line change 66 - id : check-merge-conflict
77
88 - repo : https://github.com/asottile/setup-cfg-fmt
9- rev : v1.17 .0
9+ rev : v2.5 .0
1010 hooks :
1111 - id : setup-cfg-fmt
12+ args :
13+ - --include-version-classifiers
1214
1315 - repo : https://github.com/myint/autoflake
1416 rev : v1.4
Original file line number Diff line number Diff line change @@ -8,14 +8,17 @@ url = https://github.com/firebolt-db/firebolt-sdk
88author = Firebolt
991010license = Apache-2.0
11- license_file = LICENSE
11+ license_files = LICENSE
1212classifiers =
1313 License :: OSI Approved :: Apache Software License
1414 Operating System :: OS Independent
1515 Programming Language :: Python :: 3
1616 Programming Language :: Python :: 3 :: Only
1717 Programming Language :: Python :: 3.8
1818 Programming Language :: Python :: 3.9
19+ Programming Language :: Python :: 3.10
20+ Programming Language :: Python :: 3.11
21+ Programming Language :: Python :: 3.12
1922project_urls =
2023 Bug Tracker = https://github.com/firebolt-db/firebolt-sdk/issues
2124
5154 allure-pytest ==2.*
5255 devtools ==0.7.0
5356 mypy ==1.*,<1.10.0
54- pre-commit ==2.15 .0
57+ pre-commit ==3.5 .0
5558 pyfakefs>=4.5.3
5659 pytest ==7.2.0
5760 pytest-cov ==3.0.0
You can’t perform that action at this time.
0 commit comments