Skip to content

Commit

Permalink
PyTest integrations with github workflow actions (work-in-progress).
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdocua committed Oct 9, 2023
1 parent 7ed40cd commit db64868
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies

- name: Install Python 3.11
run: |
sudo apt update
sudo apt install python3.11 -y
sudo apt install python3-dev -y
sudo apt install python3-pip -y
sudo apt install python3.11-venv -y
shell: bash

- name: Create Python 3.11 venv
run: |
python3.11 -m venv venv
venv/bin/activate
venv/bin/pip install poetry
venv/bin/poetry config virtualenvs.create false
venv/bin/poetry config virtualenvs.in-project true
venv/bin/poetry env use `which python3`
venv/bin/poetry --version
shell: bash


- name: Setup test DB
run: |
echo TODO
echo TODO_setup_DB

0 comments on commit db64868

Please sign in to comment.