mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-10-30 06:07:50 +00:00
Some checks failed
ChangeDetection.io Container Build Test / Build linux/amd64 (alpine) (push) Waiting to run
ChangeDetection.io Container Build Test / Build linux/arm64 (alpine) (push) Waiting to run
ChangeDetection.io Container Build Test / Build linux/amd64 (main) (push) Waiting to run
ChangeDetection.io Container Build Test / Build linux/arm/v7 (main) (push) Waiting to run
ChangeDetection.io Container Build Test / Build linux/arm/v8 (main) (push) Waiting to run
ChangeDetection.io Container Build Test / Build linux/arm64 (main) (push) Waiting to run
Build and push containers / metadata (push) Has been cancelled
Build and push containers / build-push-containers (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
name: ChangeDetection.io App Test
|
|
|
|
# Triggers the workflow on push or pull request events
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint-code:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Lint with Ruff
|
|
run: |
|
|
pip install ruff
|
|
# Check for syntax errors and undefined names
|
|
ruff check . --select E9,F63,F7,F82
|
|
# Complete check with errors treated as warnings
|
|
ruff check . --exit-zero
|
|
- name: Validate OpenAPI spec
|
|
run: |
|
|
pip install openapi-spec-validator
|
|
python3 -c "from openapi_spec_validator import validate_spec; import yaml; validate_spec(yaml.safe_load(open('docs/api-spec.yaml')))"
|
|
|
|
test-application-3-10:
|
|
# Only run on push to master (including PR merges)
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
needs: lint-code
|
|
uses: ./.github/workflows/test-stack-reusable-workflow.yml
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
|
|
test-application-3-11:
|
|
# Always run
|
|
needs: lint-code
|
|
uses: ./.github/workflows/test-stack-reusable-workflow.yml
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
test-application-3-12:
|
|
# Only run on push to master (including PR merges)
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
needs: lint-code
|
|
uses: ./.github/workflows/test-stack-reusable-workflow.yml
|
|
with:
|
|
python-version: '3.12'
|
|
skip-pypuppeteer: true
|
|
|
|
test-application-3-13:
|
|
# Only run on push to master (including PR merges)
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
needs: lint-code
|
|
uses: ./.github/workflows/test-stack-reusable-workflow.yml
|
|
with:
|
|
python-version: '3.13'
|
|
skip-pypuppeteer: true |