Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}