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. 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.

  2. 2 Posted by Derek Riemer on 25 Aug, 2019 02:32 AM

    Derek Riemer's Avatar

    That worked well!
    Thanks!

  3. Owen McDonnell closed this discussion on 26 Aug, 2019 06:17 AM.

Comments are currently closed for this discussion. You can start a new one.

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

Recent Discussions

13 Dec, 2019 05:26 PM
13 Dec, 2019 11:28 AM
12 Dec, 2019 09:36 PM
12 Dec, 2019 09:25 PM
12 Dec, 2019 06:01 PM

 

11 Dec, 2019 11:29 PM
11 Dec, 2019 08:47 PM
11 Dec, 2019 01:39 PM
10 Dec, 2019 12:29 AM
09 Dec, 2019 05:35 AM
07 Dec, 2019 04:20 PM