Minor refactors #30
This file contains hidden or 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: test | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
raku: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
#- windows-latest | |
raku-version: | |
- 'latest' | |
- '2022.02' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Raku/setup-raku@v1 | |
with: | |
raku-version: ${{ matrix.raku-version }} | |
- name: Install Dependencies | |
run: | | |
# install and test if need be (includes [test-depends]) | |
if [ "$RUNNER_OS" == "Linux" ]; then | |
sudo apt-get install -y libxml2-dev | |
sudo apt-get install -y libxslt-dev | |
elif [ "$RUNNER_OS" == "macOS" ]; then | |
brew update | |
brew install libxml2 | |
brew install libxslt | |
else | |
echo "$RUNNER_OS not supported" | |
exit 1; | |
fi | |
zef install --deps-only . | |
zef build . | |
zef install --/test App::Prove6 | |
- name: Run Tests | |
run: prove6 -I. t |