File tree 2 files changed +46
-1
lines changed 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : test_asv
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : [main]
7
+
8
+ concurrency :
9
+ group : ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress : true
11
+
12
+ jobs :
13
+ test_asv :
14
+ name : test with specific asv_runner
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os : ["ubuntu-latest"]
20
+ python-version : ["3.10", "pypy-3.9"]
21
+ steps :
22
+ - name : Set up Python version ${{ matrix.python-version }}
23
+ uses : actions/setup-python@v4
24
+ with :
25
+ python-version : ${{ matrix.python-version }}
26
+ cache : pip
27
+ cache-dependency-path : pyproject.toml
28
+ - name : Checkout
29
+ uses : actions/checkout@v3
30
+ with :
31
+ path : asv_runner
32
+ fetch-depth : 0
33
+ - name : Checkout tools repo
34
+ uses : actions/checkout@v3
35
+ with :
36
+ repository : airspeed-velocity/asv
37
+ path : asv
38
+ fetch-depth : 0
39
+ - name : Install asv
40
+ run : cd asv/ && pip install .
41
+ - name : Run asv
42
+ run : cd asv/ && pip install .
43
+ - name : Run tests with the current asv_runner
44
+ run : |
45
+ cd asv/
46
+ ASV_RUNNER="$(pwd)/../asv_runner" python -m pytest -v --timeout=300 --durations=100 test
Original file line number Diff line number Diff line change 30
30
ref : master
31
31
wait_workflow : true
32
32
client_payload : ' {"pr_number": "${{ github.event.client_payload.slash_command.args.named.pr_number }}"}'
33
-
You can’t perform that action at this time.
0 commit comments