Added GitHub Actions workflows for CI and DocC documentation.
CI / Build and test (pull_request) Canceled after 0s
Documentation / Build documentation (pull_request) Canceled after 0s
Documentation / Deploy to GitHub Pages (pull_request) Canceled after 0s
CI / Build and test (pull_request) Canceled after 0s
Documentation / Build documentation (pull_request) Canceled after 0s
Documentation / Deploy to GitHub Pages (pull_request) Canceled after 0s
This commit is contained in:
1 parent
51d1a6946a
commit
73736e250d
5 files changed
+189
-1
No files matched your search
@@ -0,0 +1,52 @@
|
||||
# ===----------------------------------------------------------------------===
|
||||
#
|
||||
# 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'
|
||||
Reference in new issue
Block a user