Skip to content

Commit

Permalink
CI: WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed Dec 12, 2023
1 parent dc21db7 commit 1540a34
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ jobs:
matrix:
toxenv: [lint, docs-lint, pycodestyle, format, mypy]
python-version: [ "3.10" ]
os: ["ubuntu-latest", "windows-latest"]
os: ["ubuntu-latest"]
include:
- os: windows-latest
python-version: "3.12"
toxenv: format
- os: macos-latest
python-version: "3.12"
toxenv: docs-lint
steps:
- uses: actions/checkout@v4
- name: Using Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
- run: tox -e run-module
- run: tox -e run-entrypoint
- run: tox -e py
continue-on-error: $${{ matrix.unsupported }}
continue-on-error: ${{ matrix.unsupported }}
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ jobs:
- name: prepare deb
run: |
# why the incorrect version? because this way we can skip rewrite debian/changelog for now
mkdir --verbose --parents debian/gunicorn-21.2.0
( cd source && git archive --format=tar --prefix=unicorn-21.2.0/ HEAD | gzip) > debian/gunicorn_21.2.0.orig.tar.gz
mkdir --verbose --parents debian
( cd source && git archive --format=tar --prefix=gunicorn-21.2.0/ HEAD | gzip ) > debian/gunicorn_21.2.0.orig.tar.gz
( cd debian && tar --extract --file gunicorn_21.2.0.orig.tar.gz gunicorn-21.2.0 )
rsync -a source/.github/packaging/debian/ debian/gunicorn-21.2.0/debian
test -f debian/gunicorn-21.2.0/pyproject.toml
test -f debian/gunicorn-21.2.0/debian/control
- name: build deb
run: |
( cd debian/gunicorn-21.2.0 && dpkg-buildpackage --unsigned-source --unsigned-changes)
Expand Down

0 comments on commit 1540a34

Please sign in to comment.