Skip to content
Open
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
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: 'CI'

on:
push:
branches:
- 'main'
pull_request:
types: [opened, synchronize, reopened]

jobs:
test:
strategy:
matrix:
smalltalk: [ Pharo64-11, Pharo64-12, Pharo64-13 ] #Pharo versions
smalltalk: [ Pharo64-12, Pharo64-13 ] #Pharo versions
os: [ ubuntu-latest, macos-latest, windows-latest ] #OS versions
ston: [ .smalltalkci.default.ston ] #Can use multiple .ston files
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion CSSParser-Tests/CSSAdjacentSelectorTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Class {

{ #category : 'testing' }
CSSAdjacentSelectorTest >> test01NodeWithoutParentShouldntRaiseErrors [

| selector |
selector := CSSSelector fromString: 'a+*'.
self shouldnt: [selector matches: HtmlDocument new] raise: Error.
self deny: (selector matches: HtmlParseNode new).
]
3 changes: 2 additions & 1 deletion CSSParser-Tests/CSSChildSelectorTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Class {

{ #category : 'testing' }
CSSChildSelectorTest >> test01NodeWithoutParentShouldntRaiseErrors [

| selector |
selector := CSSSelector fromString: 'a>*'.
self shouldnt: [selector matches: HtmlDocument new] raise: Error
self deny: (selector matches: HtmlParseNode new)
]
8 changes: 8 additions & 0 deletions CSSParser-Tests/CSSFontFormatterTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ CSSFontFormatterTest >> test03FontWeightBoldShouldBeParsedCorrectly [
{ #category : 'testing' }
CSSFontFormatterTest >> test04ComplexFontValueShouldBeParsedCorrectly [
| prop result |

self skip:
'Does not work, probably due to use of a non existing font in the CI (Source Sans Pro)'.

result := Dictionary new.
prop := CSSProperty new
propertyName: 'font';
Expand All @@ -82,6 +86,10 @@ CSSFontFormatterTest >> test04ComplexFontValueShouldBeParsedCorrectly [
{ #category : 'testing' }
CSSFontFormatterTest >> test05FontFamilyShouldBeParsedCorrectly [
| prop result |

self skip:
'Does not work, probably due to use of a non existing font in the CI (Source Sans Pro)'.

result := Dictionary new.
prop := CSSProperty new
propertyName: 'font-family';
Expand Down
4 changes: 2 additions & 2 deletions CSSParser-Tests/ColorConversionTest.class.st
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Class {
#name : 'ColorConversionTest',
#superclass : 'TestCase',
#category : 'CSSParser-Tests-Tests',
#category : 'CSSParser-Tests-Extensions',
#package : 'CSSParser-Tests',
#tag : 'Tests'
#tag : 'Extensions'
}

{ #category : 'testing' }
Expand Down
157 changes: 0 additions & 157 deletions CSSParser-Tests/DHtmlFormatterTest.class.st

This file was deleted.

35 changes: 0 additions & 35 deletions CSSParser-Tests/HtmlANodeTest.class.st

This file was deleted.

33 changes: 0 additions & 33 deletions CSSParser-Tests/HtmlDIVNodeTest.class.st

This file was deleted.

Loading