Skip to content

fix(deps): bump actions/setup-node from 3 to 4 #78

fix(deps): bump actions/setup-node from 3 to 4

fix(deps): bump actions/setup-node from 3 to 4 #78

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
name: Python package
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: '3.10'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} 💨
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies 👷
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8 👀
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 .
- name: Test with pytest 💯
run: |
pytest