Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize webassets #553

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: CI

on:
merge_group:
push:
branches: [master, main, ci-*]
tags: ["*"]
pull_request:
workflow_dispatch:

env:
FORCE_COLOR: "1"
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_NO_PYTHON_VERSION_WARNING: "1"

permissions: {}

jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: package-lock.json
- uses: hynek/setup-cached-uv@v2
- run: |
npm install
echo "$(pwd)/node_modules/.bin" >> "$GITHUB_PATH"

- name: Prepare tox
run: |
V=${{ matrix.python-version }}
echo TOX_PYTHON=py"$(echo $V | tr -d.)" >>"$GITHUB_ENV"

- run: >
uvx --with=tox-uv
tox run
-e ${{ env.TOX_PYTHON }}
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
3.0 (2024-09)

Bumped to 3.0 because holy *shit* did this drop a bunch of versions and make changes!

- drop every Python version earlier than 3.11
- remove the now-obsolete "yui" compressor, since it's dead-dead-omgmalware-dead
- update tests so they validate that they work with babel 7, not 6

2.0 (2019-12-20)
Jump to 2.0 to leave alpha versioning and start doing semver. No actual breaking changes.

Expand Down
Loading