[tests] Add tests for examples (#9403)

These tests will run if one of the conditions is met:

- any change to `./examples`
- any changes to `./packages/frameworks`

The test ensures that examples can build and deploy without errors.

In a future PR, we could improve these tests to make requests to the
test deployment (like we do for probes).
This commit is contained in:
Steven
2023-02-09 09:58:37 -05:00
committed by GitHub
parent 8087b7804e
commit 26773daf05
60 changed files with 347 additions and 36 deletions

View File

@@ -0,0 +1,5 @@
import { deployExample } from '../test-utils';
it('should deploy', async () => {
await deployExample(__filename);
});