-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 744 Bytes
/
poetry.yml
File metadata and controls
35 lines (28 loc) · 744 Bytes
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
---
name: Python Poetry Test
on:
# every day-of-month 1st at 00:00 UTC
schedule:
# prettier-ignore
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
check-links:
uses: ./.github/workflows/link-check.yml
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
# prettier-ignore
python-version: '3.12'
- name: Install dependencies
working-directory: ${{github.workspace}}/python-algorithm
run: |
pip install poetry
poetry install --with test
- name: Test
working-directory: ${{github.workspace}}/python-algorithm
run: poetry run pytest