Skip to content

fixed string issue in python versions in main.yml #3

fixed string issue in python versions in main.yml

fixed string issue in python versions in main.yml #3

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11]
node-version: [14, 16, 18]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r requirements.txt
- name: Install Node.js dependencies
run: |
cd pybruno/node
npm install
- name: Run tests
run: |
pytest
- name: Build distribution package
run: |
python setup.py sdist bdist_wheel