From ef7c058a09ce4e7138e3832c759fd02ed8abdc72 Mon Sep 17 00:00:00 2001 From: jung-geun Date: Fri, 7 Jul 2023 21:18:22 +0900 Subject: [PATCH] =?UTF-8?q?23-07-07=20python=20conda=20=ED=8C=A8=ED=82=A4?= =?UTF-8?q?=EC=A7=80=20=EB=B6=80=ED=99=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-package-conda.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/python-package-conda.yml diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml new file mode 100644 index 0000000..5cc49d3 --- /dev/null +++ b/.github/workflows/python-package-conda.yml @@ -0,0 +1,24 @@ +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.9 + uses: actions/setup-python@v3 + with: + python-version: "3.9" + - 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 create --file environment.yaml --name pso + conda activate pso \ No newline at end of file