Skip to content

Commit b66b07a

Browse files
committed
Added CI
1 parent e18e8ef commit b66b07a

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,22 @@ jobs:
2121
- ubuntu-latest
2222
arch:
2323
- x64
24+
exclude:
25+
# ARM64/Silicon is only supported on macOS
26+
- os: ubuntu-latest
27+
arch: aarch64
28+
- os: windows-latest
29+
arch: aarch64
30+
# Other exclusions as needed
31+
- os: macOS-latest
32+
arch: x86 - aarch64 macOS-latest
2433
services:
2534
postgres:
2635
image: postgis/postgis:13-3.1
2736
env:
28-
POSTGRES_PASSWORD: postgres
29-
POSTGRES_USER: postgres
30-
POSTGRES_DB: geocoder
37+
POSTGRES_PASSWORD: ""
38+
POSTGRES_USER: ""
39+
POSTGRES_DB: tiger
3140
ports:
3241
- 5432:5432
3342
options: >-
@@ -45,8 +54,8 @@ jobs:
4554
- uses: julia-actions/julia-buildpkg@v1
4655
- name: Create census schema and tables
4756
run: |
48-
PGPASSWORD=postgres psql -h localhost -U postgres -d geocoder -c "CREATE SCHEMA IF NOT EXISTS census;"
49-
PGPASSWORD=postgres psql -h localhost -U postgres -d geocoder -c "
57+
PGPASSWORD=postgres psql -h localhost -d tiger -c "CREATE SCHEMA IF NOT EXISTS census;"
58+
PGPASSWORD=postgres psql -h localhost -d tiger -c "
5059
CREATE TABLE IF NOT EXISTS census.counties (
5160
geoid VARCHAR(5) PRIMARY KEY,
5261
name VARCHAR(100),
@@ -65,9 +74,9 @@ jobs:
6574
GEOIDS_DB_NAME: geocoder
6675
GEOIDS_DB_HOST: localhost
6776
GEOIDS_DB_PORT: 5432
68-
GEOIDS_DB_USER: postgres
69-
GEOIDS_DB_PASSWORD: postgres
77+
GEOIDS_DB_USER: ""
78+
GEOIDS_DB_PASSWORD: ""
7079
- uses: julia-actions/julia-processcoverage@v1
7180
- uses: codecov/codecov-action@v2
7281
with:
73-
file: lcov.info
82+
file: lcov.info

0 commit comments

Comments
 (0)