Skip to content
Merged
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
27 changes: 0 additions & 27 deletions .github/workflows/CI.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# depth 0 will download all the repository history
- uses: actions/checkout@v3
with:
fetch-depth: 0

# Runs tests in a pharo image by removing the old code in the pharo image
- name: Run Pharo Tests
id: tests
uses: akevalion/PharoTestsAction@v1
with:
pharo: 'pharo12'
baseline: 'ContainersAVLTree'
group: 'default'
tests: 'AVL-Tree'
14 changes: 0 additions & 14 deletions .smalltalk.ston

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"
I represent Baseline of AVL Tree
I am a baseline
"
Class {
#name : 'BaselineOfContainersAVLTree',
Expand All @@ -10,10 +10,22 @@ Class {

{ #category : 'baselines' }
BaselineOfContainersAVLTree >> baseline: spec [
<baseline>
spec for: #common do: [
spec package: 'Containers-AVL-Tree'.
spec
package: 'Containers-AVL-Tree-Tests'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ] ]
]

<baseline>
spec for: #common do: [ "Packages"
spec package: 'Containers-AVL-Tree'.
spec
package: 'Containers-AVL-Tree-Tests'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ].
spec
package: 'Containers-AVL-Tree-Inspector'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ].

"Define groups"
spec
group: 'Core'
with: #( 'Containers-AVL-Tree' 'Containers-AVL-Tree-Inspector' );
group: 'Tests' with: #( 'Containers-AVL-Tree-Tests' ).

spec group: 'default' with: #( 'Core' 'Tests' ) ]
]
Loading
Loading