-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (28 loc) · 798 Bytes
/
rust.yml
File metadata and controls
33 lines (28 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PostgreSQL
uses: Harmon758/postgresql-action@v1.0.0
with:
# POSTGRES_DB - name for the default database that is created
postgresql db: postgres
# POSTGRES_USER - create the specified user with superuser power
postgresql user: postgres
# POSTGRES_PASSWORD - superuser password
postgresql password: postgres
- name: Build
working-directory: ./pcidss
run: cargo build --verbose
- name: Run tests
working-directory: ./pcidss
run: cargo test --workspace --exclude oracle-e2e-tests