Skip to content

Prepare for BelieveAthon #1710

Prepare for BelieveAthon

Prepare for BelieveAthon #1710

Workflow file for this run

name: modules-test
permissions:
contents: read
on:
push:
branches: [main]
paths:
- modules/**
pull_request:
paths:
- modules/**
jobs:
# Triggers the circleci tests job
tests:
runs-on: ubuntu-latest
steps:
- name: tickle tests
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}
CIRCLE_BRANCH: ${{ github.head_ref }}
run: |
echo $CIRCLE_BRANCH;
curl -X POST \
-H "Circle-Token: ${CCI_TOKEN}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d "{
\"branch\": \"${CIRCLE_BRANCH}\",
\"parameters\": {
\"GHA_Meta\": \"modules_tests\"
}
}" https://circleci.com/api/v2/project/gh/AbstractSDK/abstract/pipeline
# Triggers the circleci codecov job
coverage:
runs-on: ubuntu-latest
steps:
- name: tickle coverage
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}
CIRCLE_BRANCH: ${{ github.head_ref }}
run: |
echo $CIRCLE_BRANCH;
curl -X POST \
-H "Circle-Token: ${CCI_TOKEN}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d "{
\"branch\": \"${CIRCLE_BRANCH}\",
\"parameters\": {
\"GHA_Meta\": \"modules_coverage\"
}
}" https://circleci.com/api/v2/project/gh/AbstractSDK/abstract/pipeline