Skip to content

Commit

Permalink
chore: refactored CI actions - exclude processes
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed May 22, 2024
1 parent d99c3a9 commit 8af2d12
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
name: CI
on:
push:
paths-ignore:
- "*.md"

on: push
jobs:
test:
uses: PlaceOS/.github/.github/workflows/containerised-test.yml@main

crystal-style:
uses: PlaceOS/.github/.github/workflows/crystal-style.yml@main

dockerfile-style:
uses: PlaceOS/.github/.github/workflows/dockerfile-style.yml@main

test:
name: "${{ !matrix.crystal.stable && '🚧 ' || ''}}crystal: ${{ matrix.crystal.tag }}, subset: ${{ matrix.subset }}, MT: ${{ matrix.MT }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crystal:
- tag: latest
stable: true
- tag: unstable
stable: false
MT: [false]
continue-on-error: ${{ !matrix.crystal.stable }}
steps:
- uses: actions/checkout@v3
- name: Test ${{ matrix.subset }}
run: ./test ${{ matrix.MT && '-Dpreview_mt' || '' }} --tag "~processes"
env:
CRYSTAL_VERSION: ${{ matrix.crystal.tag }}

0 comments on commit 8af2d12

Please sign in to comment.