Skip to content

Commit

Permalink
what url
Browse files Browse the repository at this point in the history
  • Loading branch information
gloriacai01 committed Oct 10, 2024
1 parent daaccc3 commit ee833af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'

- name: Set main env vars
if: github.event_name != 'pull_request_target'
Expand All @@ -64,14 +64,10 @@ jobs:

- name: Run go unit tests
run: |
export PATH=$PATH
chmod -R a+rwx . # temporary fix for arm runners
which -a python3
which python3
python3 --version
sudo apt update
sudo apt update
sudo apt install -y python3.11-venv
echo "installed venv"
echo "installed venv?"
python3 -m venv .venv
.venv/bin/python --version
sudo -Hu testbot bash -lc 'go test ./cli -run TestGenerateModuleAction'
Expand Down
1 change: 1 addition & 0 deletions cli/module_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ func getLatestSDKTag(c *cli.Context, language string) (string, error) {
if err != nil {
return "", errors.Wrapf(err, "cannot get latest %s release", repo)
}
fmt.Println("url " + url)
defer utils.UncheckedErrorFunc(resp.Body.Close)
if resp.StatusCode != http.StatusOK {
return "", errors.Errorf("unexpected http GET status: %s", resp.Status)
Expand Down

0 comments on commit ee833af

Please sign in to comment.