Skip to content

Add allKeys getter

Add allKeys getter #53

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Test
run: |
xcodebuild -scheme "LRUCache" -sdk macosx clean build test -enableCodeCoverage YES -derivedDataPath Build/
cd Build/Build/ProfileData
cd $(ls -d */|head -n 1)
directory=${PWD##*/}
pathCoverage=Build/Build/ProfileData/${directory}/Coverage.profdata
cd ../../../../
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug/LRUCache.framework/LRUCache > info.lcov
bash <(curl https://codecov.io/bash) -t 5bfd6ece-264f-4cef-8dbf-4c5cfa0f87aa
env:
DEVELOPER_DIR: /Applications/Xcode_11.7.app/Contents/Developer
linux:
runs-on: ubuntu-latest
container:
image: swift:5.2
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Test
run: swift test --enable-test-discovery