Skip to content

Commit

Permalink
Create Setup .NET Core SDK
Browse files Browse the repository at this point in the history
#SAMkenXEcosystem PMUXSystemAPIs updates with DAVID/MORAL
Project - > https://turnkey-triumph-326606-cloudstorage.googleapis.com/dev/samkenx
main email : [email protected]

Signed-off-by: Sam Ken  <[email protected]>
  • Loading branch information
samkenxstream authored Jul 20, 2023
1 parent cc18c02 commit cb8a8c2
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions .github/workflows/python-package-conda.yml/Setup .NET Core SDK
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Python Package using Conda

on: [push]

jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Lint with flake8
run: |
conda install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
conda install pytest
pytest
- name: Setup .NET Core SDK

uses: actions/[email protected]

with:

# Optional SDK version(s) to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x, 3.x, 6.0.2xx

dotnet-version: # optional

# Optional quality of the build. The possible values are: daily, signed, validated, preview, ga.

dotnet-quality: # optional

# Optional global.json location, if your global.json isn't located in the root of the repo.

global-json-file: # optional

# Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword

source-url: # optional

# Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url

owner: # optional

# Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo.

config-file: # optional

# Optional input to enable caching of the NuGet global-packages folder

cache: # optional

# Used to specify the path to a dependency file: packages.lock.json. Supports wildcards or a list of file names for caching multiple dependencies.

cache-dependency-path: # optional

0 comments on commit cb8a8c2

Please sign in to comment.