-
Notifications
You must be signed in to change notification settings - Fork 88
61 lines (59 loc) · 2.16 KB
/
tox_verify.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Run Tox Verifications
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-24.04
python: "3.10"
evm-type: "stable"
tox-cmd: "uvx --with=tox-uv tox" # run-parallel --parallel-no-spinner" # TODO: disable parallelisation for uv testing
- os: ubuntu-24.04
python: "3.12"
evm-type: "stable"
tox-cmd: "uvx --with=tox-uv tox" # run-parallel --parallel-no-spinner"
# Disabled due to unavailable evm implementation for devnet-1
# - os: ubuntu-24.04
# python: '3.11'
# evm-type: 'develop'
# tox-cmd: 'tox -e tests-develop'
# Disabled to not be gated by evmone implementation
# - os: ubuntu-24.04
# python: '3.11'
# evm-type: 'eip7692'
# tox-cmd: 'tox -e tests-eip7692'
- os: macos-latest
python: "3.11"
evm-type: "stable"
tox-cmd: "uvx --with=tox-uv tox" # run-parallel --parallel-no-spinner"
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-evm-base
id: evm-builder
with:
type: ${{ matrix.evm-type }}
- name: Set up uv
uses: ./.github/actions/setup-uv
- name: Set up Python ${{ matrix.python }}
run: uv python install ${{ matrix.python }}
- name: Setup Tools/Dependencies Ubuntu
if: runner.os == 'Linux'
run: |
sudo apt-get update && sudo apt-get install -y aspell aspell-en
- name: Setup Tools/Dependencies macOS
if: runner.os == 'macOS'
run: |
brew install aspell
# Add additional packages on 3.11: https://github.com/ethereum/execution-spec-tests/issues/274
if [ ${{ matrix.python }} == '3.11' ]; then brew install autoconf automake libtool; fi
- name: Run Tox (CPython)
run: ${{ matrix.tox-cmd }}
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: |
README.md
docs/**/*.md