File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
jobs :
18
18
19
+ macos :
20
+ name : CI test on macos-latest
21
+ runs-on : macos-latest
22
+ env :
23
+ TOXENV : py310-unit
24
+ steps :
25
+ - uses : actions/checkout@v3
26
+ with :
27
+ fetch-depth : 0
28
+ - name : Set up Python
29
+ uses : actions/setup-python@v4
30
+ with :
31
+ python-version : " 3.10"
32
+ cache : pip
33
+ cache-dependency-path : |
34
+ requirements.txt
35
+ tox.ini
36
+ - name : Upgrade setuptools and install tox
37
+ run : |
38
+ pip install -U pip setuptools wheel
39
+ pip install tox tox-gh-actions
40
+ # # docker for mac install is not currently stable
41
+ # - name: 'SETUP MacOS: load Homebrew cache'
42
+ # uses: actions/cache@v3
43
+ # if: runner.os == 'macOS'
44
+ # with:
45
+ # path: |
46
+ # ~/Library/Caches/Homebrew/downloads/*--Docker.dmg
47
+ # key: brew-actions-setup-docker-1.0.11
48
+ # restore-keys: brew-actions-setup-docker-
49
+ # - name: setup docker on macos (default stable version)
50
+ # uses: docker-practice/actions-setup-docker@master
51
+ - name : Test with tox
52
+ run : tox
53
+ - name : Upload coverage to Codecov
54
+ if : ${{ matrix.step == 'unit' }}
55
+ uses : codecov/codecov-action@v3
56
+ with :
57
+ fail_ci_if_error : true
58
+
59
+
19
60
tox :
20
61
name : CI tests via Tox
21
62
You can’t perform that action at this time.
0 commit comments