Broken remote tests disabled #387
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "macOS 13" | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- hotfix | |
paths: | |
- Packag*.swift | |
- web3swift.podspec | |
- Cartfile | |
- Sources/** | |
- 'Tests/**' | |
- 'web3swift*/**' | |
- '.github/workflows/**' | |
pull_request: | |
branches: | |
- master | |
- develop | |
- unstable | |
# Temporary develop-X.Y.Z branches may be added and removed from here as we release new versions | |
- develop-4.0 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer | |
jobs: | |
spm: | |
name: Swift Package Manager 5.9 | |
runs-on: macos-13 | |
concurrency: | |
group: spm-${{ github.run_id }} | |
cancel-in-progress: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Discover typos | |
run: | | |
pipx install codespell | |
codespell # See .codespellrc for args | |
- name: SwiftLint | |
run: | | |
# 1. Make all automated fixes that are possible | |
# 2. git diff to see what (if any) automated fixes were made | |
# 3. See https://github.com/realm/SwiftLint#xcode explains why the double run | |
swiftlint --fix --quiet && git diff && swiftlint --quiet | |
- name: Install Foundry (includes anvil EVM) | |
run: | | |
curl -L https://foundry.paradigm.xyz | bash | |
source ~/.bashrc | |
foundryup | |
- name: Start anvil in background | |
run: ~/.foundry/bin/anvil & | |
- name: Resolve dependencies | |
run: swift package resolve | |
- name: Build | |
run: swift build --build-tests | |
- name: Run local tests | |
run: swift test --skip-build -c debug --filter localTests | |
- name: Run remote tests | |
run: swift test --skip-build -c debug --filter remoteTests |