Modifying CI test #63
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: Testing Master | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Update Ubuntu | |
run: sudo apt update | |
- name: Install Dependencies | |
run: sudo apt install python3 python3-venv | |
- name: Create Venv | |
run: python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt && pip install pylint | |
- name: Install SCALE-Sim | |
run: source venv/bin/activate && python setup.py install | |
- name: Linting | |
run: source venv/bin/activate && python -m pylint --fail-under=7.5 scalesim/ | |
- name: Test 1 | |
run: source venv/bin/activate && cd scalesim && python scale.py | |
# to test the functionality of weight stationary dataflow | |
- name: Run script file | |
run: | | |
chmod +x ./test/scripts/function_test.sh | |
./test/scripts/function_test.sh | |
shell: bash | |