Pytest Github Action failed in Django REST API project - github

I have updated my workflow action from simple super-linter to PYTEST. I get the following error in github
Run pipenv install --deploy --dev
ERROR: Pipfile not found! Aborting! Please ensure that the file exists and is located in your project root directory.
Error: Process completed with exit code 1.
Super linter is really lazy and fails unnecessarily even if the code is correctly formatted?
I have not added any file in my project? Do I need to?

Related

Not able to run builds on travis after using SPM plugin

Getting following error when running builds having any SPM plugin like SwiftGenPlugin:
The following build commands failed:
Validate plug-in “SwiftGenPlugin” in package “swiftgenplugin”
Build link: https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/jobs/592013507
Sample project: https://github.com/mukesh-mt/SwiftGenTest
I was able to solve this issue by using -skipPackagePluginValidation option in xcodebuild.
With fastlane you can pass it with --xcargs "-skipPackagePluginValidation" option in gym command
See this build https://app.travis-ci.com/github/mukesh-mt/SwiftGenTest/builds/259435024

VSTFS build failed at Publish step

I am using the VSTFS CI/CD pipeline to automate my .NET Core 5.0 with Angular 12 web application.
It failing the build at Publish step (see below screenshot) with error:
'npm' is not recognized as an internal or external command,
2021-12-13T20:19:46.9855025Z operable program or batch file.
2021-12-13T20:19:46.9917349Z D:\TFSBuildAgent\_work\58\s\src\WebUI\WebUI.csproj(85,5): error MSB3073: The command "npm install" exited with code 9009.
2021-12-13T20:19:47.0482106Z ##[error]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 1
2021-12-13T20:19:47.0496257Z ##[error]Dotnet command failed with non-zero exit code on the following projects :
What could be the issue?
Thanks
It looks like npm is not found by the agent. Make sure Node is installed globally on the machine and npm has been added to the system wide path environment variable.
Or add the Node Tool Installer task to your workflows.
I fixed the issue by deleting the npm publish tag in WebUI project file.

graphql apollo fails to run script

i followed the tutorial provided by apollo and each time i build to run the script that generate the api file ,i get the following massage:
iphonesimulator/Apollo/Apollo.framework/check-and-run-apollo-cli.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
this is the project:https://github.com/mkamal13/graphqlapollo
can any body help?
In new versions it's called run-bundled-codegen.sh, change it in the script you added to Build Phases

Installing Spritebuilder from source

I am trying to install spritebuilder but since it is no longer on the app store I have to do it through github. I ran the following code from the readme file on github.
git clone https://github.com/apportable/SpriteBuilder
cd SpriteBuilder
git submodule update --init --recursive
cd scripts
./build_distribution.py --version 1.x
but it keeps returning the error:
Testing failed:
Error: There is no SDK with the name or path '/Users/username/SpriteBuilder/scripts/SpriteBuilder/SpriteBuilder/macosx10.9'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Am I doing something wrong? I went into the build folder despite the error and the .app is not able to be opened, saying it may be incomplete or corrupt.
I found a workaround by downloading Spritebuilder from a mirror hosting site.

Error messege when running 'jekyll build' command on cloud 9

I am a dev student and am having issues with Jekyll. Everytime I run a "jekyll build" command from my cloud 9 terminal I get the following messege:
Liquid Exception: Included file '_includes/archive_post.html' not found in source/404.markdown
jekyll 2.4.0 | Error: Included file '_includes/archive_post.html' not found
can anyone help me with this?
Found the file that is causing your issue:
https://raw.githubusercontent.com/mema82/mema82.github.io/feature/jekyll-theme/source/404.markdown
This file references archive_post.html which is non-existent. If you remove this file, or just remove the code referencing the missing file, Jekyll build should run successfully.