Files
PSO/.github/workflows/python-package-conda.yml
jung-geun 4170100bd1 23-07-06
code space용 설정 파일 추가
mutation 설정 - 특정 확률로 파티클의 위치를 랜덤하게 방향 조정
2023-07-06 20:46:38 +09:00

26 lines
663 B
YAML

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 update --file environment.yaml --name base
- name: pso mnist run
run: |
python mnist.py