Skip to content

test

test #18

Workflow file for this run

name: Test CI
concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.config.foo }}
strategy:
matrix:
os: [ macOS-11, ubuntu-20.04]
config:
- {"foo": "bar"}
- {"foo": "baz"}
include:
- os: ubuntu-22.04
config:
foo: "fish"
steps:
- name: filter step
if: ${{ !github.event.pull_request.draft || matrix.os == 'ubuntu-20.04' }}
run: |
echo "${{ matrix.os }}"
echo "${{ matrix.config.foo }}"
- name: actual work
run: |
echo "doing real work here."
sleep 60
echo "done"