more fixes on github test #13
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: TestUbuntu | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest # ubuntu-20.04 | |
strategy: | |
matrix: | |
# https://github.com/actions/setup-python/issues/853 | |
python-version: ["3.10"] #["3.8", "3.8.5", "3.8.10", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: pip configuration report | |
run: | | |
pip list | |
- name: install dependencies | |
run: | | |
chmod +x ./install_dependencies.sh | |
sudo ./install_dependencies.sh | |
- name: test | |
run: | | |
python ./pylele_test.py | |
# for debugging, show all the files | |
- name: show files | |
run: | | |
ls -R | |
find ./test/ | grep stl | |
############################################################## | |
# Downloadable results from OpenLane | |
artifact: | |
needs: | |
- build | |
runs-on: ubuntu-latest | |
steps: | |
- name: restore runs cache | |
uses: actions/cache@v3 | |
with: | |
path: runs | |
key: ${{ runner.os }}-runs-${{ github.run_id }} | |
- name: upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
# path depends on the tag and the module name | |
name: STL | |
path: | | |
find ./test/fretboard_assembly/cadquery/* |