Skip to content

Commit 7534fd0

Browse files
committed
Hopefully fixing the shard overriding missing issue
1 parent 8150eb1 commit 7534fd0

File tree

1 file changed

+34
-42
lines changed

1 file changed

+34
-42
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
fail-fast: false
5555
matrix:
5656
include:
57-
# - { os: macos-latest }
58-
# - { os: windows-latest }
57+
- { os: macos-latest }
58+
- { os: windows-latest }
5959
- { os: ubuntu-latest }
6060
runs-on: ${{matrix.os}}
6161
continue-on-error: false
@@ -77,45 +77,37 @@ jobs:
7777
run: |
7878
crystal build src/lucky.cr
7979
pwd >> $GITHUB_PATH
80-
- name: Setup upterm session
81-
uses: owenthereal/action-upterm@v1
82-
with:
83-
limit-access-to-actor: true
8480
- name: Run e2e Browser app with authentication flow
85-
run: crystal spec spec/end_to_end/browser_with_auth_spec.cr
86-
env:
87-
SHARDS_OVERRIDE: "$(pwd)/shard.override.yml"
81+
run: SHARDS_OVERRIDE="$(pwd)/shard.override.yml" crystal spec spec/end_to_end/browser_with_auth_spec.cr
8882

89-
# browser_without_auth:
90-
# needs: [check_format, platform_specs]
91-
# strategy:
92-
# fail-fast: false
93-
# matrix:
94-
# include:
95-
# - { os: macos-latest }
96-
# - { os: windows-latest }
97-
# - { os: ubuntu-latest }
98-
# runs-on: ${{matrix.os}}
99-
# continue-on-error: false
100-
# steps:
101-
# - uses: actions/checkout@v6
102-
# - name: Setup PostgreSQL
103-
# uses: ikalnytskyi/action-setup-postgres@v8
104-
# with:
105-
# username: postgres
106-
# password: postgres
107-
# port: 5432
108-
# postgres-version: 18
109-
# - uses: crystal-lang/install-crystal@v1
110-
# with:
111-
# crystal: latest
112-
# - name: Install shards
113-
# run: shards install --skip-postinstall --skip-executables
114-
# - name: Install LuckyCLI
115-
# run: |
116-
# crystal build src/lucky.cr
117-
# pwd >> $GITHUB_PATH
118-
# - name: Run e2e Browser app with authentication flow
119-
# run: crystal spec spec/end_to_end/browser_no_auth_spec.cr
120-
# env:
121-
# SHARDS_OVERRIDE: "$(pwd)/shard.override.yml"
83+
browser_without_auth:
84+
needs: [check_format, platform_specs]
85+
strategy:
86+
fail-fast: false
87+
matrix:
88+
include:
89+
- { os: macos-latest }
90+
- { os: windows-latest }
91+
- { os: ubuntu-latest }
92+
runs-on: ${{matrix.os}}
93+
continue-on-error: false
94+
steps:
95+
- uses: actions/checkout@v6
96+
- name: Setup PostgreSQL
97+
uses: ikalnytskyi/action-setup-postgres@v8
98+
with:
99+
username: postgres
100+
password: postgres
101+
port: 5432
102+
postgres-version: 18
103+
- uses: crystal-lang/install-crystal@v1
104+
with:
105+
crystal: latest
106+
- name: Install shards
107+
run: shards install --skip-postinstall --skip-executables
108+
- name: Install LuckyCLI
109+
run: |
110+
crystal build src/lucky.cr
111+
pwd >> $GITHUB_PATH
112+
- name: Run e2e Browser app with authentication flow
113+
run: SHARDS_OVERRIDE="$(pwd)/shard.override.yml" crystal spec spec/end_to_end/browser_no_auth_spec.cr

0 commit comments

Comments
 (0)