Adding Node 20 test.

This commit is contained in:
Roland 2024-02-10 21:46:44 -07:00
parent 8e58cd42a8
commit a4aceb3cfc
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -49,7 +49,7 @@ jobs:
- run: cd app && npm run test
app-tests-20:
docker:
- image: cimg/node:20.10
- image: cimg/node:20.11
resource_class: small
steps:
- checkout
@ -169,6 +169,33 @@ jobs:
- "venv"
- run:
command: './venv/bin/pytest -svv wrolpi modules'
api-tests-3-12:
docker:
- image: cimg/python:3.12
- image: cimg/postgres:14.1
environment:
POSTGRES_USER: postgres
POSTGRES_DB: wrolpi
POSTGRES_PASSWORD: "wrolpi"
resource_class: small
steps:
- checkout
- run: sudo apt-get update
- run: sudo apt-get install -y ffmpeg
- restore_cache:
key: deps-3.12-{{ checksum "requirements.txt" }}-2
- run:
name: Install Requirements
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- save_cache:
key: deps-3.12-{{ checksum "requirements.txt" }}
paths:
- "venv"
- run:
command: './venv/bin/pytest -svv wrolpi modules'
workflows:
wrolpi-api-tests:
@ -182,3 +209,4 @@ workflows:
- app-tests-14
- app-tests-16
- app-tests-18
- app-tests-20