File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name : ARM64 Tests
5
+
6
+ on : [push, pull_request]
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : [self-hosted, linux, ARM64]
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Setup .NET
16
+ uses : actions/setup-dotnet@v1
17
+ with :
18
+ dotnet-version : |
19
+ 3.1.x
20
+ 6.0.x
21
+
22
+ - name : Create virtualenv
23
+ run : |
24
+ virtualenv -p python3 venv
25
+
26
+ - name : Install dependencies
27
+ run : |
28
+ source venv/bin/activate
29
+ python -m pip install --upgrade pip
30
+ pip install pytest cffi
31
+
32
+ # Assumes recent Mono
33
+
34
+ - name : Build
35
+ run : |
36
+ source venv/bin/activate
37
+ pip install -e .
38
+
39
+ - name : Test with pytest
40
+ run : |
41
+ source venv/bin/activate
42
+ pytest
You can’t perform that action at this time.
0 commit comments