2nd try #190
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: linux | |
on: push | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
run: | | |
rm -rf ${{github.event.repository.name}} | |
git clone https://${{github.repository_owner}}:${{github.token}}@github.com/${{github.repository}} | |
git -C "${{github.workspace}}/${{github.event.repository.name}}" checkout ${{github.ref}} | |
- name: Python unittest | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
cd ${{github.event.repository.name}} | |
sudo sh ./install_apt_packages.sh | |
pip3 install -e . | |
cd RegressionTest | |
python3 Test.py | |
- name: Cleanup | |
run: | | |
rm -rf venv | |
rm -rf ${{github.event.repository.name}} |