Skip to content

Commit

Permalink
chore: simplify CI yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Feb 21, 2024
1 parent edad275 commit 1c48708
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mypy.ini export-ignore
py.typed export-ignore
pyproject.toml export-ignore
pyrightconfig.json export-ignore
requirements.txt export-ignore
requirements.* export-ignore
scripts/ export-ignore
stubs/ export-ignore
tests/ export-ignore
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- run: |
cd docs/
uv v && . .venv/bin/activate
uv pip install -r requirements.txt
make build
make install build
job_deploy:
# deploy only on the "stable" branch
if: ${{ github.ref == 'refs/heads/stable' }}
Expand All @@ -35,5 +34,4 @@ jobs:
- run: |
cd docs/
uv v && . .venv/bin/activate
uv pip install -r requirements.txt
make deploy
make install deploy
3 changes: 1 addition & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ jobs:
- name: Do linting
run: |
uv v && . .venv/bin/activate
uv pip install -r requirements.txt
make ci-check
make install ci-check
2 changes: 1 addition & 1 deletion .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
include:
- build: 4126
- build: 4114
packages: master
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install: pip-compile

.PHONY: pip-compile
pip-compile:
uv pip compile requirements.in -o requirements.txt
uv pip compile --upgrade requirements.in -o requirements.txt

.phony: serve
serve:
Expand Down
8 changes: 4 additions & 4 deletions docs/requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mkdocs-material==9.5.9
mkdocs-material==9.*

# mkdocs plugins
mkdocs-exclude==1.0.2
mkdocs-git-revision-date-localized-plugin==1.2.4
mkdocs-minify-plugin==0.8.0
mkdocs-exclude==1.*
mkdocs-git-revision-date-localized-plugin==1.*
mkdocs-minify-plugin==0.8.*
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv v0.1.2 via the following command:
# uv pip compile requirements.in -o requirements.txt
# This file was autogenerated by uv via the following command:
# uv pip compile --upgrade requirements.in -o requirements.txt
babel==2.14.0
# via
# mkdocs-git-revision-date-localized-plugin
Expand Down Expand Up @@ -52,7 +52,7 @@ mkdocs==1.5.3
# mkdocs-minify-plugin
mkdocs-exclude==1.0.2
mkdocs-git-revision-date-localized-plugin==1.2.4
mkdocs-material==9.5.9
mkdocs-material==9.5.10
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocs-minify-plugin==0.8.0
Expand Down Expand Up @@ -87,7 +87,7 @@ six==1.16.0
# via python-dateutil
smmap==5.0.1
# via gitdb
urllib3==2.2.0
urllib3==2.2.1
# via requests
watchdog==4.0.0
# via mkdocs
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was autogenerated by uv v0.1.5 via the following command:
# This file was autogenerated by uv via the following command:
# uv pip compile --upgrade requirements.in -o requirements.txt
mypy==1.8.0
mypy-extensions==1.0.0
Expand Down

0 comments on commit 1c48708

Please sign in to comment.