# ===----------------------------------------------------------------------=== # # This source file is part of the Amiibo Service open source project # # Copyright (c) 2026 Röck+Cöde VoF. and the Amiibo Service project authors # Licensed under Apache license v2.0 # # See LICENSE for license information # See CONTRIBUTORS for the list of Amiibo Service project authors # # SPDX-License-Identifier: Apache-2.0 # # ===----------------------------------------------------------------------=== name: Live tests on: schedule: # Every Monday at 06:00 UTC. - cron: '0 6 * * 1' workflow_dispatch: permissions: contents: read jobs: test: name: Test against the live service runs-on: macos-latest steps: - name: Check out uses: actions/checkout@v4 - name: Select Xcode uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable - name: Show toolchain run: swift --version - name: Cache build uses: actions/cache@v4 with: path: .build key: spm-${{ runner.os }}-${{ hashFiles('Package.resolved') }} restore-keys: spm-${{ runner.os }}- - name: Test run: make lib-test env: AMIIBO_LIVE_TESTS: '1'