Skip to content

Commit

Permalink
Debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mweichert committed Nov 2, 2024
1 parent 9bfaffb commit 6d22e52
Show file tree
Hide file tree
Showing 29 changed files with 36 additions and 30 deletions.
2 changes: 1 addition & 1 deletion bin/before-all-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ docker ps > /dev/null # making sure docker is installed, running, and the user h
# Clean all docker containers before running any tests
docker rm -vf $(docker ps -aq) > /dev/null 2>&1 || echo "There are no docker containers to remove"

rm -rf ./scrap
rm -rf ./scrap | true
mkdir ./scrap
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.62.2",
"version": "0.62.3",
"packages": [
"taqueria-protocol",
"taqueria-lib*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/root",
"version": "0.62.2",
"version": "0.62.3",
"description": "An easy to use opinionated tool for building, testing, and deploying Tezos software",
"main": "index.ts",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/analytics",
"version": "0.62.2",
"version": "0.62.3",
"description": "A TypeScript SDK submitting events for Taqueria activity",
"main": "./index.js",
"source": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-lib-ligo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/lib-ligo",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria library which provides common functionality for the LIGO and LIGO Legacy Plugins",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-archetype/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-archetype",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for compiling Archetype smart contracts",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-contract-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-contract-types",
"version": "0.62.2",
"version": "0.62.3",
"main": "index.cjs",
"module": "index.js",
"source": "index.ts",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-core",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for core tasks",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-flextesa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-flextesa",
"version": "0.62.2",
"version": "0.62.3",
"description": "A plugin for Taqueria providing local sandbox capabilities built on Flextesa",
"keywords": [
"taqueria",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-helloworld/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-helloworld",
"version": "0.62.2",
"version": "0.62.3",
"description": "An example of a plugin for Taqueria",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-ipfs-pinata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-ipfs-pinata",
"version": "0.62.2",
"version": "0.62.3",
"description": "A plugin for Taqueria providing ipfs publishing and pinning using the Pinata service",
"keywords": [
"taqueria",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-jest",
"version": "0.62.2",
"version": "0.62.3",
"main": "index.cjs",
"module": "index.js",
"source": "index.ts",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-ligo-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-ligo-legacy",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for compiling LIGO smart contracts that target LIGO v0.73.0 and earlier.",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-ligo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-ligo",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for compiling LIGO smart contracts",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-metadata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-metadata",
"version": "0.62.2",
"version": "0.62.3",
"description": "A plugin for Taqueria providing metadata creation and validation.",
"keywords": [
"taqueria",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-mock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-mock",
"version": "0.62.2",
"version": "0.62.3",
"description": "A plugin used to test Taqueria",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-octez-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-octez-client",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for utilizing octez-client",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-smartpy-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-smartpy-legacy",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for compiling SmartPy smart contracts using SmartPy v0.16 (legacy syntax).",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-smartpy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-smartpy",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin used to test and compile smart contracts written in SmartPy.",
"main": "index.js",
"targets": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-taquito/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-taquito",
"version": "0.62.2",
"version": "0.62.3",
"description": "A taqueria plugin for originating smart contracts using Taquito",
"targets": {
"default": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-tezbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-tezbox",
"version": "0.62.2",
"version": "0.62.3",
"description": "A plugin for Taqueria providing local sandbox capabilities built on TezBox",
"keywords": [
"taqueria",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-plugin-tzcompose/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/plugin-tzcompose",
"version": "0.62.2",
"version": "0.62.3",
"description": "A TzCompose plugin for Taqueria using the GoTz SDK",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/protocol",
"version": "0.62.2",
"version": "0.62.3",
"description": "A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion taqueria-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/node-sdk",
"version": "0.62.2",
"version": "0.62.3",
"description": "A TypeScript SDK for NodeJS used for Taqueria plugin development.",
"main": "./index.js",
"source": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/toolkit",
"version": "0.62.2",
"version": "0.62.3",
"description": "A TypeScript library for NodeJS to work with Taqueria projects",
"source": "./index.ts",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-vscode-extension-web-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taqueria-vscode-extension-web-ui",
"private": true,
"version": "0.62.2",
"version": "0.62.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion taqueria-vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Taqueria",
"description": "A better way to build on Tezos",
"publisher": "TezosTaqueria",
"version": "0.62.2",
"version": "0.62.3",
"private": true,
"engines": {
"vscode": "^1.84.2"
Expand Down
10 changes: 8 additions & 2 deletions tests/integration/plugin-mock-integration-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ describe('Unit tests using taqueria-mock-plugin', () => {
});

test('Verify that proxied requests with no encoding output valid string', () => {
const stdout = execSync(`cd ./${testProjectPath} && taq ping`).toString().trim();
expect(stdout).toEqual('pong');
try {
const result = execSync(`cd ./${testProjectPath} && taq ping`, { stdio: 'pipe' });
const stdout = result.toString().trim();
expect(stdout).toEqual('pong');
} catch (error) {
console.log('Full error output:', error);
throw error;
}
});

test('Verify that proxied requests with no encoding return error', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taqueria/tests",
"version": "0.62.2",
"version": "0.62.3",
"type": "module",
"private": true,
"description": "This is Taqueria testing project includes unit, integration and e2e tests",
Expand Down

0 comments on commit 6d22e52

Please sign in to comment.