mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-10 20:40:56 +00:00
46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
# 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
|
|
|
|
# Orchestrate jobs using workflows
|
|
# See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows
|
|
workflows:
|
|
main-workflow:
|
|
jobs:
|
|
- say-hello
|
|
- validate
|