-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add windows to ci * chore: skip postinstall, executables
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Lucky Env CI | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
branches: "*" | ||
|
||
|
@@ -13,11 +13,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Download source | ||
uses: actions/checkout@v3 | ||
- name: Install Crystal | ||
uses: crystal-lang/install-crystal@v1 | ||
with: | ||
crystal: latest | ||
- name: Install shards | ||
run: shards install | ||
- name: Format | ||
|
@@ -28,19 +27,19 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
crystal_version: | ||
- 1.4.0 | ||
- latest | ||
experimental: | ||
- false | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental }} | ||
os: [ubuntu-latest, windows-latest] | ||
crystal_version: [latest] | ||
include: | ||
- os: ubuntu-latest | ||
crystal_version: 1.4.0 | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: crystal-lang/install-crystal@v1 | ||
with: | ||
crystal: ${{matrix.crystal_version}} | ||
crystal: ${{ matrix.crystal_version }} | ||
- name: Install dependencies | ||
run: shards install | ||
run: shards install --skip-postinstall --skip-executables | ||
- name: Run tests | ||
run: crystal spec |