[Modify]fix bug of install #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: auto test | |
on: [push] | |
jobs: | |
build: | |
runs-on: [self-hosted, Linux , X64, GPU] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: activate python env | |
run: | | |
conda create --name linger_env python=3.7 | |
source activate linger_env | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Test with pytest | |
run: | | |
sh auto_test.sh |