-
Notifications
You must be signed in to change notification settings - Fork 7
50 lines (44 loc) · 1.09 KB
/
poetry-dev.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Dev Dependencies
on:
push:
branches:
- dev
paths:
- 'pyproject.toml'
- 'poetry.lock'
- '.github/workflows/poetry*.yml'
pull_request:
branches:
- dev
paths:
- 'pyproject.toml'
- 'poetry.lock'
- '.github/workflows/poetry*.yml'
jobs:
poetry-dev-build:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
matrix:
os:
- 'ubuntu-24.04'
- 'macos-14.0'
- 'windows-2022'
python-version:
- '3.11'
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install latest version of Poetry
run: pip install --upgrade poetry pip setuptools wheel
- name: Get Poetry version
run: poetry --version
- name: Check pyproject.toml validity
run: poetry check --no-interaction
- name: install canary development dependencies
run: poetry install --no-interaction