File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 - name : Check for lock changes
2020 run : poetry check --lock
2121 - name : Cache virtualenv (with docs)
22- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
22+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
2323 with :
2424 path : .venv
2525 key : nipanel-with-docs-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
2828 - name : Generate docs
2929 run : poetry run sphinx-build docs docs/_build -b html -W
3030 - name : Upload docs artifact
31- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
31+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
3232 with :
3333 name : nipanel-docs
3434 path : docs/_build/
Original file line number Diff line number Diff line change 5454 - name : Build distribution packages
5555 run : poetry build
5656 - name : Upload build artifacts
57- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
57+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
5858 with :
5959 name : ${{ env.dist-artifact-name }}
6060 path : dist/*
7171 id-token : write
7272 steps :
7373 - name : Download build artifacts
74- uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
74+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
7575 with :
7676 name : ${{ env.dist-artifact-name }}
7777 path : dist/
Original file line number Diff line number Diff line change 1616 - name : Check out repo
1717 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1818 - name : Download test results
19- uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
19+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
2020 with :
2121 path : test_results
2222 pattern : test_results_*
Original file line number Diff line number Diff line change 2626 - name : Set up Poetry
2727 uses : ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # 0.7.1
2828 - name : Cache virtualenv
29- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
29+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
3030 with :
3131 path : .venv
3232 key : nipanel-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
3535 - name : Run unit tests and code coverage
3636 run : poetry run pytest ./tests/unit -v --cov=nipanel --junitxml=test_results/nipanel-${{ matrix.os }}-py${{ matrix.python-version }}.xml
3737 - name : Upload test results
38- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
38+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
3939 with :
4040 name : test_results_unit_${{ matrix.os }}_py${{ matrix.python-version }}
4141 path : ./test_results/*.xml
You can’t perform that action at this time.
0 commit comments