aqua/integration-tests
Anatolios Laskaris aa10706506
chore: Refactor CI after moving tests from aqua-playground [fixes FLU-352] (#763)
* move integration tests to repo

* Move aqua-playground CI

* Fix

* Use local aqua cli

* Move aqua tests to e2e

* Test new build.sbt

* Fix?

* Test

* Test

* Test

* Test

* Update

* Fix

* Fix

* Fix

* fix

* Fix

* Rename aqua-api to api directory for consistency

* Migrate to pnpm

* Add bump version script

* Test snapshot workflow

* fix

* Fix

* Fix

* Setup pnpm

* Update pnpm version

* Fix

* Do not publish tests

* Update

* Fix

* Fix?

* delete import

* Fix

* Fix

* Fix?

* Fix

* Fix

* Use main branch

* Fix quotes

* Fix

* Fix release

* Cleanup

* Remove compiled examples

* Cleanup

---------

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2023-06-22 14:59:56 +03:00
..
aqua chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
src chore: Refactor CI after moving tests from aqua-playground [fixes FLU-352] (#763) 2023-06-22 14:59:56 +03:00
.gitignore chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
.npmignore chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
.prettierrc.js chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
jest.config.cjs chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
LICENSE chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
package-lock.json chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
package.json chore: Refactor CI after moving tests from aqua-playground [fixes FLU-352] (#763) 2023-06-22 14:59:56 +03:00
README.md chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
tsconfig.json chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00

Aqua playground

Repository demonstrating the how to start writing aqua and integrate it into a typescript application

Getting started

Install dependencies

npm install

To compile the aqua files execute

npm run compile-aqua

To start the index.ts execute

npm run run

To run all examples in example directory

npm run exec

If everything works correctly logs without errors will be printed on a screen:

Then you can add or modify aqua files in aqua directory, these files will be compiled into /src/compiled and you can use it in a TypeScript in your preferable way.

Project structure

Aqua source files are located in src/aquadirectory.

Aqua files are compiled into .ts located in /src/compiled directory.

Entry point to use aqua compiled files from TypeScript: /src/index.ts

Code that call all examples and check results: /src/run-examples.ts

References

Documentation for the compiler can be found in the official repo: https://github.com/fluencelabs/aqua