adds CI instructions and edit readme and changelog #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
smalltalk: [Pharo64-7.0] | |
redis-version: [7] | |
mongodb-version: ['4.4'] | |
name: ${{ matrix.smalltalk }} | |
steps: | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: ${{ matrix.redis-version }} | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: ${{ matrix.mongodb-version }} | |
mongodb-replica-set: test-rs | |
- uses: actions/checkout@v2 | |
- 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@v1 | |
with: | |
name: ${{matrix.os}}-${{matrix.smalltalk}} | |
token: ${{ secrets.CODECOV_TOKEN }} |