mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-29 03:43:09 -04:00
This changeset puts us back to Python 3.12.9 since we are still wrestling with certificate validation errors in Python 3.13 and no easy way to test things without breaking our deployment flow currently. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
28 lines
805 B
YAML
28 lines
805 B
YAML
name: Set up project
|
|
description: Setup python & install dependencies
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Install container dependencies
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update \
|
|
&& sudo apt-get install -y --no-install-recommends \
|
|
libcurl4-openssl-dev
|
|
- name: Set up Python 3.12.9
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.12.9"
|
|
- name: Install poetry
|
|
shell: bash
|
|
run: pip install poetry==2.1.3
|
|
- name: Install poetry export plugin
|
|
shell: bash
|
|
run: poetry self add poetry-plugin-export
|
|
- name: Downgrade virtualenv to compatible version
|
|
shell: bash
|
|
run: pip install "virtualenv<20.30"
|
|
- name: Install application dependencies
|
|
shell: bash
|
|
run: make bootstrap
|