feat(metrics): add CC metrics (#2390) #6466
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "e2e" | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- ".github/**" | |
- "!.github/workflows/e2e.yml" | |
- "!.github/workflows/snapshot.yml" | |
- "!.github/workflows/container.yml" | |
- "!.github/workflows/build.yml" | |
types: | |
- "labeled" | |
- "synchronize" | |
- "opened" | |
- "reopened" | |
push: | |
branches: | |
- "master" | |
paths-ignore: | |
- "**.md" | |
- ".github/**" | |
- "!.github/workflows/e2e.yml" | |
- "!.github/workflows/snapshot.yml" | |
- "!.github/workflows/container.yml" | |
- "!.github/workflows/build.yml" | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
nox: | |
if: > | |
github.event_name == 'push' || | |
( | |
contains(github.event.pull_request.labels.*.name, 'e2e') && | |
!github.event.pull_request.head.repo.fork | |
) | |
uses: ./.github/workflows/build.yml | |
with: | |
ref: ${{ github.ref }} | |
nox-snapshot: | |
name: "nox" | |
needs: nox | |
uses: ./.github/workflows/container.yml | |
with: | |
image-name: "docker.fluence.dev/nox" | |
ref: ${{ github.ref }} | |
decider: | |
if: > | |
contains(github.event.pull_request.labels.*.name, 'e2e') && | |
!github.event.pull_request.head.repo.fork | |
uses: fluencelabs/decider/.github/workflows/tests.yml@main | |
with: | |
test-cargo-dependencies: | | |
[ | |
{ | |
"package": "created-swarm", | |
"git": "https://github.com/fluencelabs/nox.git", | |
"branch": "${{ github.head_ref }}" | |
}, | |
{ | |
"package": "connected-client", | |
"git": "https://github.com/fluencelabs/nox.git", | |
"branch": "${{ github.head_ref }}" | |
}, | |
{ | |
"package": "log-utils", | |
"git": "https://github.com/fluencelabs/nox.git", | |
"branch": "${{ github.head_ref }}" | |
}, | |
{ | |
"package": "system-services", | |
"git": "https://github.com/fluencelabs/nox.git", | |
"branch": "${{ github.head_ref }}" | |
} | |
] | |
cli: | |
needs: | |
- nox-snapshot | |
uses: fluencelabs/cli/.github/workflows/tests.yml@main | |
with: | |
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}" | |
js-client: | |
needs: | |
- nox-snapshot | |
uses: fluencelabs/js-client/.github/workflows/tests.yml@main | |
with: | |
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}" | |
aqua: | |
needs: | |
- nox-snapshot | |
uses: fluencelabs/aqua/.github/workflows/tests.yml@main | |
with: | |
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}" |