-
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (39 loc) · 1023 Bytes
/
ci.yaml
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
name: Continuous Integration
permissions: read-all
on:
pull_request:
branches:
- main
- devs/**
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- run: |
# nosemgrep: generic.ci.security.use-frozen-lockfile.use-frozen-lockfile-pip
pip install -r requirements-poetry.txt
poetry install --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.100.0
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Run Semgrep
run: |
semgrep --config=auto --error --timeout=15 .