-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 971 Bytes
/
main.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
name: Main
on:
pull_request:
push:
branches:
- master
jobs:
main:
strategy:
fail-fast: true
matrix:
os: [ubuntu-22.04, macos-14]
python: ["3.11.9", "3.12.4"]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Project checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: make setup
- name: Check codestyle
run: make inspect
- name: Run tests
run: make test
- name: Build Package
run: make build