mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
Merge pull request #3330 from nspcc-dev/add-macos
Add ARM-based MacOS tests
This commit is contained in:
commit
6a560b9a95
2 changed files with 5 additions and 10 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -56,9 +56,6 @@ jobs:
|
|||
go-version: '1.21'
|
||||
cache: true
|
||||
|
||||
- name: Update Go modules
|
||||
run: go mod download -json
|
||||
|
||||
- name: Build CLI
|
||||
run: make build
|
||||
env:
|
||||
|
|
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
@ -102,9 +102,6 @@ jobs:
|
|||
go-version: '1.21'
|
||||
cache: true
|
||||
|
||||
- name: Update Go modules
|
||||
run: go mod download -json
|
||||
|
||||
- name: Write coverage profile
|
||||
run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
|
||||
|
||||
|
@ -120,7 +117,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2022, macos-12]
|
||||
os: [ubuntu-20.04, windows-2022, macos-12, macos-14]
|
||||
go_versions: [ '1.19', '1.20', '1.21' ]
|
||||
exclude:
|
||||
# Only latest Go version for Windows and MacOS.
|
||||
|
@ -132,6 +129,10 @@ jobs:
|
|||
go_versions: '1.19'
|
||||
- os: macos-12
|
||||
go_versions: '1.20'
|
||||
- os: macos-14
|
||||
go_versions: '1.19'
|
||||
- os: macos-14
|
||||
go_versions: '1.20'
|
||||
# Exclude latest Go version for Ubuntu as Coverage uses it.
|
||||
- os: ubuntu-20.04
|
||||
go_versions: '1.21'
|
||||
|
@ -148,8 +149,5 @@ jobs:
|
|||
go-version: '${{ matrix.go_versions }}'
|
||||
cache: true
|
||||
|
||||
- name: Update Go modules
|
||||
run: go mod download -json
|
||||
|
||||
- name: Run tests
|
||||
run: go test -v -race ./...
|
||||
|
|
Loading…
Reference in a new issue