-
-
Notifications
You must be signed in to change notification settings - Fork 64
42 lines (37 loc) · 984 Bytes
/
test.yml
File metadata and controls
42 lines (37 loc) · 984 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
37
38
39
40
41
42
name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/test.yml'
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
# NOTE: arm64 macos is the fastest runner. Full matrix is tested in `release.yml`.
include:
- os: macos-15
arch: arm64
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Run install
run: make install
- name: Run lint
run: uv run make lint
- name: Run tests
run: uv run make test
env:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ONFINALITY_API_KEY: ${{ secrets.ONFINALITY_API_KEY }}