@@ -11,23 +11,13 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
|
||||
- name: Create virtual env
|
||||
run: |
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
which python
|
||||
python --version
|
||||
python -m sqlite3 --version
|
||||
- name: Install poetry
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
pip install poetry==2.3.4
|
||||
python3 -m pip install poetry==2.3.4
|
||||
- name: Install the project dependencies
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
poetry install
|
||||
poetry env info
|
||||
python3 -m poetry install
|
||||
python3 -m poetry env info
|
||||
- name: Run the automated tests
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
poetry run pytest tests
|
||||
python3 -m poetry run python -m pytest tests
|
||||
|
||||
Reference in New Issue
Block a user