Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci #21

Merged
merged 25 commits into from
May 30, 2024
Merged

Ci #21

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
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
- push
- pull_request
# for triggering the workflow manually from the GitHub Actions page
- workflow_dispatch

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Select platform(s)
os:
- ubuntu-latest
# If your application contains any OS-dependent logic (such as
# accesses to the filesystem or invocations of native libraries),
# you can enable further OS platforms here. Other than that, you may
# just leave them disabled to reduce energy usage and build time :)
# (Usually, windows builds are slower than ubuntu/macOS.)
#- macos-latest
#- windows-latest
# Select compatible Smalltalk image(s)
smalltalk: [ Squeak64-trunk ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 30
env:
# for uploading coverage reports
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SmalltalkCISpec {
#name : 'SpotifyConnect CI',
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'SpotifyConnect',
#directory : 'src',
#load : [ 'tests' ],
#platforms : [ #squeak ]
}
],
#testing : {
#categories : [ 'SpotifyConnect-Tests' ]
}
}
32 changes: 19 additions & 13 deletions .squot-materialize
Original file line number Diff line number Diff line change
@@ -1,45 +1,51 @@
[
SquotTonelMapper {
#package : MCPackage {
#name : 'SpotifyConnect'
},
#path : FSAbsolutePath [
'src'
]
},
SquotImageMapper {
#path : FSAbsolutePath [
'assets',
'pause.png'
],
#encoding : Class [ #PNGReadWriter ]
},
SquotImageMapper {
SquotPlaintextMapper {
#path : FSAbsolutePath [
'assets',
'next.png'
'successResponse.html'
],
#encoding : @4
#encoding : 'TXT'
},
SquotImageMapper {
#path : FSAbsolutePath [
'assets',
'previous.png'
],
#encoding : @4
#encoding : @7
},
SquotPlaintextMapper {
SquotImageMapper {
#path : FSAbsolutePath [
'assets',
'successResponse.html'
'play.png'
],
#encoding : 'TXT'
#encoding : @7
},
SquotTonelMapper {
#package : MCPackage {
#name : 'SpotifyConnect'
#name : 'BaselineOfSpotifyConnect'
},
#path : FSAbsolutePath [
'src'
]
#path : @4
},
SquotImageMapper {
#path : FSAbsolutePath [
'assets',
'play.png'
'next.png'
],
#encoding : @4
#encoding : @7
}
]
3 changes: 3 additions & 0 deletions src/.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
#format : #tonel
}
24 changes: 24 additions & 0 deletions src/BaselineOfSpotifyConnect/BaselineOfSpotifyConnect.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Class {
#name : #BaselineOfSpotifyConnect,
#superclass : #BaselineOf,
#category : #BaselineOfSpotifyConnect
}

{
#category : #'as yet unclassified',
#'squeak_changestamp' : 'OW 5/30/2024 22:31'
}
BaselineOfSpotifyConnect >> baseline: spec [
<baseline>
spec
for: #'common'
do: [
spec
package: 'SpotifyConnect';
"package: 'SpotifyConnect-Tests' with: [spec requires: #('default')];"
yourself.
spec
group: 'default' with: #('SpotifyConnect');
group: 'tests' with: #('SpotifyConnect');
yourself].
]
4 changes: 4 additions & 0 deletions src/BaselineOfSpotifyConnect/package.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Package {
#name : #BaselineOfSpotifyConnect,
#'squeak_changestamp' : true
}
2 changes: 1 addition & 1 deletion src/SpotifyConnect/SPOCTestAuthorizer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'authorizer'
],
#category : #'SpotifyConnect-Tests'
#category : #'SpotifyConnect-Auth-Tests'
}

{
Expand Down
2 changes: 1 addition & 1 deletion src/SpotifyConnect/SPOCTestTokens.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'authorizer'
],
#category : #'SpotifyConnect-Tests'
#category : #'SpotifyConnect-Auth-Tests'
}

{
Expand Down
Loading