Skip to content

Commit

Permalink
Add Github action and smalltalk CI
Browse files Browse the repository at this point in the history
  • Loading branch information
astares authored Sep 10, 2023
1 parent d65d24f commit b614aac
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 22 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on: [push,pull_request,workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk: [ Pharo64-6.1, Pharo64-7.0, Pharo64-8.0, Pharo64-9.0, Pharo64-10, Pharo64-11 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- name: Set up Smalltalk CI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit-tests.ston
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: ${{matrix.os}}-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 0 additions & 10 deletions .smalltalk.ston

This file was deleted.

16 changes: 16 additions & 0 deletions .smalltalkci/.unit-tests.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'BitmapCharacterSet',
#directory : '../src',
#load : [ 'CI' ],
#platforms : [ #pharo ]
}
],
#testing : {
#coverage : {
#packages : [ 'Collections-BitmapCharacterSet*' ],
#format: #lcov
}
}
}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# BitmapCharacterSet

[![Build Status](https://travis-ci.org/pharo-contributions/BitmapCharacterSet.svg?branch=master)](https://travis-ci.org/pharo-contributions/BitmapCharacterSet) [![Coverage Status](https://coveralls.io/repos/github/pharo-contributions/BitmapCharacterSet/badge.svg?branch=master)](https://coveralls.io/github/pharo-contributions/BitmapCharacterSet?branch=master)

**BitmapCharacterSet** is a set for characters that uses a bitmap for storing wide characters and an array of truth values for byte characters. Used by [XMLParser](https://github.com/pharo-contributions/XML-XMLParser).

[![Unit Tests](https://github.com/pharo-contributions/BitmapCharacterSet/workflows/Build/badge.svg?branch=master)](https://github.com/pharo-contributions/BitmapCharacterSet/actions?query=workflow%3ABuild)
[![Coverage Status](https://codecov.io/github/pharo-contributions/BitmapCharacterSet/coverage.svg?branch=master)](https://codecov.io/gh/pharo-contributions/BitmapCharacterSet/branch/master)

[![Pharo 7](https://img.shields.io/badge/Pharo-9.0-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 8](https://img.shields.io/badge/Pharo-9.0-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 9](https://img.shields.io/badge/Pharo-9.0-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 10](https://img.shields.io/badge/Pharo-10-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)

## Installation

```smalltalk
Expand Down

0 comments on commit b614aac

Please sign in to comment.