mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-06 17:05:16 +08:00
Deploy Website / deploy (push) Canceled after 0s
CI / test (push) Canceled after 0s
v7 blocks checking out fork PR heads under pull_request_target and workflow_run. Neither workflow here uses those triggers, so the only effect is staying current with the other repos.
34 lines
578 B
YAML
34 lines
578 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v7
|
|
with:
|
|
enable-cache: true
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --group build --locked
|
|
|
|
- name: Run tests
|
|
run: make test
|
|
|
|
- name: Build website
|
|
run: make build
|