Skip to content

Commit

Permalink
Update node js. Closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlota de la Vega committed Jun 1, 2024
1 parent 9270031 commit ad39961
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: Python CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: [push, pull_request]

jobs:
lint-and-test:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ test: ## Run tests
pytest -s

pylint:
pylint --rcfile=.pylintrc src
pylint --rcfile=.pylintrc src

coverage: ## Run tests with coverage
pytest --cov=src --cov-report=term-missing

0 comments on commit ad39961

Please sign in to comment.