Files
Tirsvad b3012aef40
TirSystem/git-workflows: CI / secret-scan (push) Skipped
TirSystem/git-workflows: CI / validate (push) Skipped
TirSystem/git-workflows: CI / opengrep (push) Skipped
TirSystem/git-workflows: CI / release-check (push) Skipped
TirSystem/git-workflows: Publish wiki / publish-wiki (push) Skipped
TirSystem/git-workflows: Release / release (push) Skipped
TirSystem/git-workflows: Sync GitHub mirror metadata / sync-metadata (push) Skipped
TirSystem/git-workflows: Publish accepted milestones / publish (push) Skipped
TirSystem/git-workflows: Validate / validate (push) Skipped
TirSystem/git-workflows: Release / release (pull_request) Successful in 5s
TirSystem/git-workflows: CI / secret-scan (pull_request) Successful in 8s
Tests / test (pull_request) Successful in 45s
TirSystem/git-workflows: Validate / validate (pull_request) Failing after 20s
TirSystem/git-workflows: OpenGrep / opengrep (pull_request) Successful in 1m0s
TirSystem/git-workflows: CI / release-check (pull_request) Successful in 8s
TirSystem/git-workflows: CI / validate (pull_request) Failing after 19s
TirSystem/git-workflows: CI / opengrep (pull_request) Successful in 1m0s
Pin the CI actions and run the screenshot image as a non-root user
2026-11-21 17:07:09 +08:00

29 lines
655 B
YAML

name: Tests
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out the repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.14
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.14"
- name: Install
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Run the tests
run: python -m pytest