Skip to content

Milestone 2

Milestone 2 #25

Workflow file for this run

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 --verbose