2022-11-24 19:21:40 +00:00
|
|
|
name: "e2e"
|
2022-09-14 02:59:49 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-01-17 13:21:53 +00:00
|
|
|
paths-ignore:
|
2022-09-14 02:59:49 +00:00
|
|
|
- "**.md"
|
2022-11-24 19:21:40 +00:00
|
|
|
push:
|
|
|
|
branches:
|
2023-01-17 13:21:53 +00:00
|
|
|
- "main"
|
2022-09-14 02:59:49 +00:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
name: "Run sbt tests"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
repository: fluencelabs/aqua
|
|
|
|
|
|
|
|
- name: Cache Scala
|
|
|
|
uses: coursier/cache-action@v6
|
|
|
|
|
|
|
|
- name: Setup Scala
|
|
|
|
uses: coursier/setup-action@v1
|
2023-01-17 13:21:53 +00:00
|
|
|
with:
|
|
|
|
apps: sbt
|
2022-09-14 02:59:49 +00:00
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: sbt test
|
|
|
|
|
2022-11-24 19:21:40 +00:00
|
|
|
aqua:
|
2022-09-14 14:36:16 +00:00
|
|
|
name: "aqua"
|
2022-09-14 02:59:49 +00:00
|
|
|
uses: ./.github/workflows/snapshot.yml
|
2022-12-02 08:15:26 +00:00
|
|
|
with:
|
|
|
|
ref: ${{ github.ref }}
|
2022-09-14 02:59:49 +00:00
|
|
|
|
|
|
|
aqua-playground:
|
2022-11-24 19:21:40 +00:00
|
|
|
needs: aqua
|
2022-11-30 12:28:06 +00:00
|
|
|
uses: fluencelabs/aqua-playground/.github/workflows/tests.yml@master
|
2022-09-14 02:59:49 +00:00
|
|
|
with:
|
2022-11-24 19:21:40 +00:00
|
|
|
aqua-version: "${{ needs.aqua.outputs.aqua-version }}"
|
2022-11-17 09:01:08 +00:00
|
|
|
|
|
|
|
registry:
|
2022-11-24 19:21:40 +00:00
|
|
|
needs: aqua
|
2022-11-17 09:01:08 +00:00
|
|
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
|
|
|
with:
|
2022-11-24 19:21:40 +00:00
|
|
|
aqua-version: "${{ needs.aqua.outputs.aqua-version }}"
|
2022-12-19 04:27:42 +00:00
|
|
|
|
|
|
|
fluence-cli:
|
|
|
|
needs: aqua
|
|
|
|
uses: fluencelabs/fluence-cli/.github/workflows/tests.yml@main
|
|
|
|
with:
|
|
|
|
aqua-version: "${{ needs.aqua.outputs.aqua-version }}"
|