Template
chore: add .gitignore
This commit is contained in:
@@ -12,11 +12,17 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
run: |
|
run: |
|
||||||
curl -o pip_cache.tar.gz http://10.2.1.195:880/download/pip_cache.tar.gz
|
curl -s -o pip_cache.tar.gz ${{ vars.EXP_URL }}/download/pip_cache.tar.gz
|
||||||
tar -zxf pip_cache.tar.gz
|
tar -zxf pip_cache.tar.gz
|
||||||
python -m venv ./.venv
|
python -m venv ./.venv
|
||||||
. ./.venv/bin/activate
|
. ./.venv/bin/activate
|
||||||
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
- name: 下载文件
|
||||||
|
run: |
|
||||||
|
rm datingTrainSet2.tsv datingTestSet2.tsv main.py
|
||||||
|
curl -s -o main.py ${{ vars.EXP_URL }}/exp/knn/main.py
|
||||||
|
curl -s -o datingTrainSet2.tsv ${{ vars.EXP_URL }}/exp/knn/datingTrainSet2.tsv
|
||||||
|
curl -s -o datingTestSet2.tsv ${{ vars.EXP_URL }}/exp/knn/datingTestSet2.tsv
|
||||||
- name: 评测结果
|
- name: 评测结果
|
||||||
run: |
|
run: |
|
||||||
. ./.venv/bin/activate
|
. ./.venv/bin/activate
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
__pycache__
|
||||||
Reference in New Issue
Block a user