Skip to content

Commit

Permalink
Move windows CI to experimental for now. Windows will require at leas…
Browse files Browse the repository at this point in the history
…t 1.14 or later to run
  • Loading branch information
jwoertink committed Oct 13, 2024
1 parent 8360acd commit 6a193c1
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
matrix:
os:
- ubuntu-latest
- windows-latest
shard_file:
- shard.yml
postgres_version:
Expand All @@ -43,6 +42,11 @@ jobs:
experimental:
- false
include:
- shard_file: shard.yml
crystal_version: latest
postgres_version: 16
experimental: true
os: windows-latest
- shard_file: shard.edge.yml
crystal_version: latest
postgres_version: 14
Expand All @@ -55,16 +59,6 @@ jobs:
os: ubuntu-latest
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
# services:
# postgres:
# image: postgres:${{ matrix.postgres_version }}-alpine
# env:
# POSTGRES_USER: lucky
# POSTGRES_PASSWORD: developer
# ports:
# - 5432:5432
# # needed because the postgres container does not provide a healthcheck
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- name: Setup PostgreSQL v${{ matrix.postgres_version }}
Expand All @@ -75,11 +69,6 @@ jobs:
port: 5432
postgres-version: ${{ matrix.postgres_version }}

# - name: Setup PostgreSQL Client v${{ matrix.postgres_version }}
# uses: tj-actions/install-postgresql@v3
# with:
# postgresql-version: ${{ matrix.postgres_version }}

- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal_version}}
Expand All @@ -97,8 +86,6 @@ jobs:
if: matrix.os == 'windows-latest'
env:
DATABASE_URL: postgres://lucky:developer@localhost:5432/avram_dev
PGDATABASE: avram_dev
PGUSER: lucky
- name: Run tests
run: crystal spec
env:
Expand Down

0 comments on commit 6a193c1

Please sign in to comment.