Skip to content
Merged
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
22 changes: 18 additions & 4 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build images
name: CI

on:
pull_request:
Expand All @@ -17,12 +17,26 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6

- name: Install just
uses: extractions/setup-just@v3

- name: Run nox tests
run: uv run nox
- name: Run tests
run: just test-all


lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6

- name: Install just
uses: extractions/setup-just@v3

- name: Run pre-commit checks
run: uv run nox -s pre_commit
run: just lint

build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: \.(diff|patch)$
Expand Down
8 changes: 8 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ run:
test:
uv run pytest

test-all:
uv run --frozen --python 3.11 pytest
uv run --frozen --python 3.12 pytest
uv run --frozen --python 3.13 pytest

lint:
uv run --frozen pre-commit run --all-files

image_url := "ghcr.io/acts-project/ci-bridge"
sha := "sha-" + `git rev-parse --short HEAD`
image:
Expand Down
23 changes: 0 additions & 23 deletions noxfile.py

This file was deleted.

Loading