File tree Expand file tree Collapse file tree 3 files changed +95
-0
lines changed
Expand file tree Collapse file tree 3 files changed +95
-0
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " pip"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
12+ day : " saturday"
13+ time : " 16:00"
14+ ignore :
15+ - dependency-name : ' *'
16+ update-types : ['version-update:semver-patch']
17+ labels : ['dependencies']
18+ - package-ecosystem : " github-actions" # See documentation for possible values
19+ directory : " /" # Location of package manifests
20+ schedule :
21+ interval : " weekly"
22+ day : " saturday"
23+ time : " 16:00"
24+ labels : ["dependencies"]
Original file line number Diff line number Diff line change 1+ ---
2+ name : CI
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ submodules : true
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v6
19+
20+ - name : Installe Build Tools
21+ run : |
22+ sudo apt-get update && sudo apt-get install -y build-essential
23+
24+ - name : Install dependencies
25+ run : |
26+ uv sync
27+
28+ - name : Run tests
29+ run : |
30+ uv run pytest
Original file line number Diff line number Diff line change 1+
2+ name : Publish artifacts to PyPi
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ docs :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ submodules : true
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v6
19+
20+ - name : Installe Build Tools
21+ run : |
22+ sudo apt-get update && sudo apt-get install -y build-essential
23+
24+ - name : Install dependencies
25+ run : |
26+ uv sync
27+
28+ - name : Run tests
29+ run : |
30+ uv run pytest
31+
32+ - name : Build artifacts
33+ run : |
34+ uv run build
35+
36+ - name : Upload artifacts
37+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
38+ env :
39+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
40+ run : |
41+ uv publish -t "$PYPI_TOKEN" --managed-python
You can’t perform that action at this time.
0 commit comments