Skip to content

Commit

Permalink
Fix failing pipeline (#667)
Browse files Browse the repository at this point in the history
* Make ci-requirements.sh executable

* Fix url for packages-microsoft-prod.deb

* Skip unsupportedMethods collection
  • Loading branch information
Ankit Saini authored Feb 3, 2023
1 parent dad3fb8 commit 4168827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion codegens/csharp-httpclient/test/newman/newman.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ describe('convert for different request types', function () {
// Run script required to run the generated code snippet
runScript: 'dotnet run --project ' + projectPath,
// Compile script required to compile the code snippet
compileScript: 'dotnet build ' + projectPath
compileScript: 'dotnet build ' + projectPath,
skipCollections: ['unsupportedMethods']
},
options = {
includeBoilerplate: true
Expand Down
2 changes: 1 addition & 1 deletion npm/ci-requirements.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ popd &>/dev/null;
echo "Installing dependencies required for tests in codegens/csharp-httpclient"
# Install latest .net6.0 sdk
pushd ./codegens/csharp-httpclient &>/dev/null;
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install apt-transport-https
sudo apt-get update
Expand Down

0 comments on commit 4168827

Please sign in to comment.