Skip to content

Commit

Permalink
Merge pull request #13 from tbrowder/3-os
Browse files Browse the repository at this point in the history
Add three OS testing with separate badges
  • Loading branch information
tbrowder authored Jun 30, 2024
2 parents 7452408 + 683711e commit 4bf94d4
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 12 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Linux

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- ubuntu-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: |
zef install --/test --deps-only .
- name: Run Tests
run: zef --debug install .
29 changes: 29 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: MacOS

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- macos-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: |
zef install --/test --deps-only .
- name: Run Tests
run: zef --debug install .
12 changes: 4 additions & 8 deletions .github/workflows/test.yml → .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: Win64

on:
push:
Expand All @@ -13,20 +13,16 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --/test --test-depends --deps-only .
- name: Install App::Prove6
run: zef install --/test App::Prove6
run: zef install --/test --deps-only .
- name: Run Tests
run: prove6 -l t
run: zef --debug install .
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for MIME-Base64

{{$NEXT}}
- Add 3-OS separate tests and badges

1.2.3 2022-02-09T18:34:18+01:00
- Add support for :eol to "encode-str" and "encode", as discussed in
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"resources": [
],
"source-url": "git://github.com/raku-community-modules/MIME-Base64.git",
"source-url": "https://github.com/raku/raku-community-modules/MIME-Base64.git",
"tags": [
"MIME",
"BASE64",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Actions Status](https://github.com/raku-community-modules/MIME-Base64/workflows/test/badge.svg)](https://github.com/raku-community-modules/MIME-Base64/actions)
[![Actions Status](https://github.com/raku/raku-community-modules/MIME-Base64/actions/workflows/linux.yml/badge.svg)](https://github.com/raku/raku-community-modules/MIME-Base64/actions) [![Actions Status](https://github.com/raku/raku-community-modules/MIME-Base64/actions/workflows/macos.yml/badge.svg)](https://github.com/raku/raku-community-modules/MIME-Base64/actions) [![Actions Status](https://github.com/raku/raku-community-modules/MIME-Base64/actions/workflows/windows.yml/badge.svg)](https://github.com/raku/raku-community-modules/MIME-Base64/actions)

NAME
====
Expand Down
9 changes: 7 additions & 2 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name = MIME-Base64
name = MIME::Base64

source-url = https://github.com/raku/raku-community-modules/MIME-Base64.git

[ReadmeFromPod]
; enable = false
filename = lib/MIME/Base64.rakumod


[UploadToZef]

[PruneFiles]
; match = ^ 'xt/'

[Badges]
provider = github-actions/test
provider = github-actions/linux.yml
provider = github-actions/macos.yml
provider = github-actions/windows.yml

0 comments on commit 4bf94d4

Please sign in to comment.