blob: 30f996967761b1dff43786a8e96b0f995980e51b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
name: Python Pull Request Validation Workflow
on:
pull_request:
branches: [ "main", "master" ]
jobs:
Validation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
architecture: "x64"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install poetry
pip install pytest
poetry lock
poetry config virtualenvs.create false
poetry install --with dev --no-interaction --no-ansi
- name: Python Run Tests
run: |
pytest -v
|