Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Package Test

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Swift
uses: swift-actions/setup-swift@v2.2.0
with:
swift-version: "6"

- name: Build💻
run: swift build -v

test:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Swift
uses: swift-actions/setup-swift@v2.2.0
with:
swift-version: "6"

- name: Test🦉
run: TEST_URL=${{secrets.TEST_URL}} PRODUCTION_URL=${{secrets.PRODUCTION_URL}} PORT_NUM=${{secrets.PORT_NUM}} swift test -v

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
with:
tag_name: ${{steps.extract_version_name.outputs.version}}
release_name: ${{steps.extract_version_name.outputs.version}}
body: ${{github.event.pull_request.body}}
body_name: ${{github.event.pull_request.body}}
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import PackageDescription


let package = Package(
name: "QappleRepository",
platforms: [
Expand Down
Loading