MQL5-Google-Onedrive/.circleci/config.yml

46 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2026-02-08 22:58:37 +07:00
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/reference/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job
docker:
# Specify the version you desire here
# See: https://circleci.com/developer/images/image/cimg/base
- image: cimg/base:current
# Add steps to the job
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps
steps:
# Checkout the code as the first step.
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
validate:
docker:
- image: cimg/python:3.12
steps:
- checkout
- run:
name: "Install dependencies"
command: pip install -r requirements.txt
- run:
name: "Run repository validation"
command: python scripts/ci_validate_repo.py
- run:
name: "Run automation tests"
command: python scripts/test_automation.py
2026-02-08 22:58:37 +07:00
# Orchestrate jobs using workflows
# See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows
workflows:
main-workflow:
2026-02-08 22:58:37 +07:00
jobs:
- say-hello
- validate