-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (34 loc) · 845 Bytes
/
ci.yaml
File metadata and controls
36 lines (34 loc) · 845 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
36
name: Continuous Integration
permissions: read-all
on:
pull_request:
branches:
- main
- devs/**
jobs:
test:
name: "Test with Python ${{ matrix.python-version }}"
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-python@v6.2.0
with:
python-version: "${{ matrix.python-version }}"
- run: |
pip install -r requirements-poetry.txt
poetry sync
poetry run poe linters
poetry run poe test
poetry build
semgrep:
timeout-minutes: 20
runs-on: ubuntu-24.04
container:
image: semgrep/semgrep:1.138.0
steps:
- uses: actions/checkout@v6.0.2
- run: tools/semgrep