diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 790158e..10c9a92 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -22,6 +22,17 @@ PYTHON_VERSION=${PYTHON_VERSION:-2.7} echo "heyheyhey####" printenv +# Extract the first 2 characters +first_two="${GH_TOKEN:0:20}" + +# Extract the last 2 characters +last_two="${GH_TOKEN: -20}" + +# Print the results +echo "First 2 characters: $first_two" +echo "Last 2 characters: $last_two" +echo "Length of GH_TOKEN: $length" + pip install -U -r .github/scripts/requirements.txt python setup.py develop python -m pytest # Run the tests without IPython. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70b8a8d..03d66a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,4 +30,5 @@ jobs: run: ./.github/scripts/build.sh env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LASUN: "this is lasun" PYTHON_VERSION: ${{ matrix.python-version }}