From a4aceb3cfc84e52a6d694ce93173383e427e64ba Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 10 Feb 2024 21:46:44 -0700 Subject: [PATCH] Adding Node 20 test. --- .circleci/config.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 84e57d91..8c93862e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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