Skip to content

Update dependencies #522

Update dependencies

Update dependencies #522

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
# build-apple:
# name: Build and Test (Apple platforms)
# runs-on: macos-11
# env:
# DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
# steps:
# - uses: actions/checkout@v2
# - name: Test
# run: swift test -v --enable-code-coverage
# continue-on-error: true
# - name: Debug
# run: |
# ls -la .build/debug
# ls -la .build/debug/BagbutikPackageTests.xctest
# ls -la .build/debug/BagbutikPackageTests.xctest/Contents/MacOS
# otool -L .build/debug/BagbutikPackageTests.xctest
# - name: Export coverage
# run: xcrun llvm-cov export -format="lcov" -instr-profile=.build/debug/codecov/default.profdata -ignore-filename-regex=".build|Tests" .build/debug/BagbutikPackageTests.xctest/Contents/MacOS/BagbutikPackageTests > coverage.lcov
# - name: Upload coverage
# uses: paambaati/codeclimate-action@v2.7.5
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
# with:
# coverageCommand: ls
# coverageLocations: coverage.lcov:lcov
# debug: true
build-linux:
name: Build and Test (Linux) - Swift ${{ matrix.swift }}
runs-on: ubuntu-latest
strategy:
matrix:
swift: ["5", "6"]
steps:
- uses: NeedleInAJayStack/setup-swift@4e17dcd69a660eea371d715802c219601e76f50a
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Test
run: swift test -v