-
-
Notifications
You must be signed in to change notification settings - Fork 49
52 lines (41 loc) · 1.11 KB
/
test.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
51
52
name: Unit tests
on: [ pull_request ]
permissions:
contents: read
jobs:
unit_tests:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
runs-on: ${{matrix.os}}
defaults:
run:
shell: bash
steps:
- name: Run Cimon (eBPF).
if: runner.os == 'Linux'
uses: cycodelabs/cimon-action@v0
with:
prevent: true
allowed-hosts: >
files.pythonhosted.org
install.python-poetry.org
pypi.org
*.atproto.blue
*.marshal.dev
plc.directory
- name: Checkout repository.
uses: actions/checkout@v4
- name: Set up Python.
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry.
uses: snok/install-poetry@v1
with:
version: 1.8.3
- name: Install dependencies.
run: poetry install --without docs
- name: Run Tests.
run: poetry run pytest