File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ${{ matrix.os }}
8+
9+ strategy :
10+ matrix :
11+ os : [ubuntu-latest, macos-latest]
12+
13+ steps :
14+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
15+
16+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
17+ with :
18+ python-version : ' 3.12'
19+
20+ - name : Install system dependencies
21+ if : runner.os == 'Linux'
22+ run : sudo apt-get install -y gcc libssl-dev libsqlite3-dev uuid-dev
23+
24+ - name : Install tox
25+ run : pip install tox
26+
27+ - name : Build
28+ run : make DEBUG=1
29+
30+ - name : Test
31+ run : make test USE_DEFAULT_ENTRY_POINT=1
32+
33+ - name : Coverage
34+ if : runner.os == 'Linux'
35+ run : gcov src/uuid.c
36+
37+ - name : Upload coverage
38+ if : runner.os == 'Linux'
39+ uses : codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments