Merge pull request #24 from msk-access/feature/update_biometrics_cci_… #159
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: test nucleo_qc | |
on: | |
push: | |
branches: [main, develop, release/*] | |
tags: | |
- '*' | |
paths-ignore: | |
- "docs/**" | |
- "**.md" | |
pull_request: | |
branches: "*" | |
paths-ignore: | |
- "docs/**" | |
- "**.md" | |
jobs: | |
run_test_nucleo_qc: | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
python-version: [3.10.8] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
submodules: recursive | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name : Set up NodeJS | |
run: | | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm install node | |
- name: Python Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-gh-actions | |
- name: Install Test data | |
run: | | |
bash install_data.sh | |
- name: Pytest | |
run: | | |
tox -vv |