Skip to content

try install pytest and use it in the same block #8

try install pytest and use it in the same block

try install pytest and use it in the same block #8

name: Python package
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: 'x64'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Testing
run: |
python -m pip install pytest
pytest