-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (36 loc) · 1.03 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
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
matrix:
fedora-version: ["39", "40"]
include:
- fedora-version: "39"
python-version: "3.12.6"
- fedora-version: "40"
python-version: "3.12.6"
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: make build-dep-ubuntu test-dep-ubuntu
- name: Set up Python ${{ matrix.python-version }} with caching
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install requirements
run: pip install -e '.[cassandra,dev,f${{ matrix.fedora-version }}]'
- name: Execute lints and tests
run: make test
- id: upload-codecov
# Third-party action pinned to v2.1.0
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
with:
verbose: true