Skip to content

Commit 0dde57d

Browse files
authoredNov 12, 2024
Leant/2.0.0 (#67)
* upgrade to rc4 + switch from kinobi to codama * upgrade to 2.0.0, format, upgrade version to 1.0.0-beta.1 * fix missing v's * fix leaf + creator verification ixs * missing codama regen * add missing phoenix deps * minor misc fixes * respecify deps that dont have a 2.0.0 v published yet * jfc... * does this work? * send help * upgrade CICD to test on node 20/22 + enhance no only tests rule * initializeMarket test assertion * fix deps, rm placeholder test dirs * fix CI + build files * add * does not add .github files... * rm bubblegum from test packages * fix cNFT setup
1 parent fb97d10 commit 0dde57d

File tree

421 files changed

+9070
-5581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

421 files changed

+9070
-5581
lines changed
 

‎.github/.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ NODE_VERSION=20.x
33
PROGRAMS=["mpl-bubblegum/program","mpl-core/program","mpl-token-metadata/program","phoenix/program","test-helpers/program"]
44
RUST_VERSION=1.75.0
55
SOLANA_VERSION=1.17.22
6-
TEST_PACKAGES="mpl-bubblegum mpl-core mpl-token-metadata phoenix test-helpers"
6+
TEST_PACKAGES=mpl-core mpl-token-metadata phoenix test-helpers

‎.github/workflows/main.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,15 @@ jobs:
8585
run: |
8686
EXIT_CODE=0
8787
echo "TEST_PACKAGES: $TEST_PACKAGES"
88-
IFS=' ' read -ra PACKAGES <<< "$TEST_PACKAGES"
89-
for package in "${PACKAGES[@]}"; do
90-
echo "Checking $package for test.only"
88+
for package in $TEST_PACKAGES; do
89+
echo "Checking $package for test.only/skip/pass/todo"
9190
if [ -d "$package" ]; then
9291
cd "$package" || { echo "Failed to change to $package directory"; exit 1; }
9392
FILES=$(find test -type f -name '*.test.ts' 2>/dev/null)
9493
if [ -n "$FILES" ]; then
9594
while IFS= read -r FILE; do
96-
if grep -Eq 'test.only\(' "$FILE"; then
97-
echo "Error: '$FILE' contains 'test.only'"
95+
if grep -Eq '(describe|test|t|d)\.(only|skip|pass|todo)\(' "$FILE"; then
96+
echo "Error: '$FILE' contains restricted test modifier (only/skip/pass/todo)"
9897
EXIT_CODE=1
9998
fi
10099
done <<< "$FILES"

0 commit comments

Comments
 (0)