Unverified Commit d3b2bc36 authored by cutecutecat's avatar cutecutecat Committed by GitHub
Browse files

Update main.yml

parent eb1eb9c2
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ jobs:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
#     - uses: actions/checkout@v2
    
    - name: Install dependencies for pylint
      run: |
@@ -19,19 +19,19 @@ jobs:
        
    - name: Analysing the code with pylint
      run: |
        pylint `ls -R|grep .py$|xargs`
        pylint src
    
    - name: Unit Testing With Python
      run: python -m unittest main_test.TestCtrl
    
    - name: Build exec file
      uses: JackMcKew/pyinstaller-action-windows@main
      with:
        path: .
        spec: KnightReport.spec
        
    - name: Upload asset to release
      uses: softprops/action-gh-release@v1
      with:
        files: src/dist/windows/KnightReport.exe
        tag_name: automatic
#     - name: Build exec file
#       uses: JackMcKew/pyinstaller-action-windows@main
#       with:
#         path: .
#         spec: KnightReport.spec
        
#     - name: Upload asset to release
#       uses: softprops/action-gh-release@v1
#       with:
#         files: src/dist/windows/KnightReport.exe
#         tag_name: automatic