File tree Expand file tree Collapse file tree 3 files changed +65
-4
lines changed Expand file tree Collapse file tree 3 files changed +65
-4
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+ schedule :
12+ # Daily at 12:00 UTC
13+ - cron : " 0 12 * * *"
14+
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
18+
19+ env :
20+ FORCE_COLOR : 1
21+
22+ jobs :
23+ test :
24+ runs-on : ubuntu-latest
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ python-version :
29+ - " 3.7"
30+ - " 3.8"
31+ - " 3.9"
32+ - " 3.10"
33+ - " 3.11"
34+ - " 3.12"
35+ - " 3.13"
36+ - " 3.14"
37+ steps :
38+ - name : Checkout code
39+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
40+
41+ - name : Set up Python
42+ id : setup-python
43+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
44+ with :
45+ python-version : ${{ matrix.python-version }}
46+ allow-prereleases : true
47+
48+ - name : Install Poetry
49+ run : pipx install poetry
50+
51+ - name : Install dependencies
52+ run : |
53+ poetry env use ${{ steps.setup-python.outputs.python-path }}
54+ poetry install
55+
56+ - name : Run tests
57+ run : poetry run pytest
Original file line number Diff line number Diff line change 3030
3131 steps :
3232 - name : Checkout repository
33- uses : actions/checkout@v2
33+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434 with :
3535 # We must fetch at least the immediate parents so that if this is
3636 # a pull request then we can checkout the head.
4343
4444 # Initializes the CodeQL tools for scanning.
4545 - name : Initialize CodeQL
46- uses : github/codeql-action/init@v1
46+ uses : github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
4747 with :
4848 languages : ${{ matrix.language }}
4949 # If you wish to specify custom queries, you can do so here or in a config file.
5454 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555 # If this step fails, then you should remove it and run the build manually (see below)
5656 - name : Autobuild
57- uses : github/codeql-action/autobuild@v1
57+ uses : github/codeql-action/autobuild@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
5858
5959 # ℹ️ Command-line programs to run using the OS shell.
6060 # 📚 https://git.io/JvXDl
6868 # make release
6969
7070 - name : Perform CodeQL Analysis
71- uses : github/codeql-action/analyze@v1
71+ uses : github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ classifiers = ['Development Status :: 5 - Production/Stable',
1919 ' Programming Language :: Python :: 3.8' ,
2020 ' Programming Language :: Python :: 3.9' ,
2121 ' Programming Language :: Python :: 3.10' ,
22+ ' Programming Language :: Python :: 3.11' ,
23+ ' Programming Language :: Python :: 3.12' ,
24+ ' Programming Language :: Python :: 3.13' ,
25+ ' Programming Language :: Python :: 3.14' ,
2226 ' Topic :: Internet :: WWW/HTTP' ,
2327 ' Topic :: Software Development :: Libraries :: Python Modules' ,
2428 ' Topic :: Utilities' ]
You can’t perform that action at this time.
0 commit comments