For some reason, upgrading to python3 causes successful builds that do nothing!

Derek Riemer's Avatar

Derek Riemer

14 Aug, 2019 12:19 PM

Hi:
I upgraded a project to python3 recently, and now, whenever pushes occur, nothing happens in the build. I've tweaked the build a bit since, but the builds don't work. The build starts, clones the repo, looks for tests, and says "build successful!"
It should be running my build_script, but for some reason it isn't. Project link:
https://ci.appveyor.com/project/derekriemer/nvda-notepadplusplus

Yml:

version: "{branch}-{build}"

environment:
 PY_PYTHON: 3.7-32

install:
  - py -m pip install markdown
  - py -m pip install scons

build_script:
  - scons
  - scons pot

artifacts:
  - path: '*.nvda-addon'
    name: addon
    type: application/x-nvda-addon
  - path: '*.pot'
    type: application/x-pot
    
deplitoy:
  release: $(APPVEYOR_REPO_TAG_NAME)
  description: $(APPVEYOR_REPO_TAG_NAME)
  provider: GitHub
  auth_token:
    secure: D6nDTGin+O15mi48HCwAAu4gXJyUMxQd31t84RdWEFlfzYfgbu4FTH2VLC6l46Fy
  artifact: addon
  draft: false
  prerelease: false
  on:
    appveyor_repo_tag: true # deploy on tag push only

If anyone has an idea of what is happening, that would be great. The only thing I changed is PY_PYTHON, installed scons through pip install.

  1. Support Staff 1 Posted by Owen McDonnell on 15 Aug, 2019 07:03 AM

    Owen McDonnell's Avatar

    It looks like your config file has not been fetched since this build.
    Can you go to your Account->authorizations page and revoke/re-authorize GitHub and then try another build for that repo.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac