mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Adding Node 20 test.
This commit is contained in:
parent
8e58cd42a8
commit
a4aceb3cfc
1 changed files with 29 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue