Skip to content

Commit

Permalink
test(gateway): render
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotonQuantum committed Jul 24, 2023
1 parent 526cb09 commit f41304b
Show file tree
Hide file tree
Showing 18 changed files with 503 additions and 169 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,32 @@ jobs:
- name: Run Clippy Lints
run: cargo clippy --workspace --all-targets --all-features --tests

test-prop:
name: Test (proptest)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Cargo Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'liberica'
java-version: '17'
java-package: 'jre'
- uses: Swatinem/rust-cache@v2
name: Rust Cache
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Install just
uses: taiki-e/install-action@just
- name: Running Tests
run: just test-prop-all
env:
PROPTEST_CASES: 2048


test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -40,6 +66,8 @@ jobs:
name: Rust Cache
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Install just
uses: taiki-e/install-action@just
- name: Install sqlx-cli
uses: taiki-e/install-action@v2
with:
Expand Down Expand Up @@ -69,6 +97,6 @@ jobs:
env:
DATABASE_URL: postgresql://rsync-sjtug:postgres@localhost:5432/rsync-sjtug
- name: Running Tests
run: cargo nextest run --workspace
run: just test-all
env:
DATABASE_URL: postgresql://rsync-sjtug:postgres@localhost:5432/rsync-sjtug
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ cross.sh
test.sh
test-gc.sh
.env
postgres/data
postgres/data
tests/vnu/vnu.jar
Loading

0 comments on commit f41304b

Please sign in to comment.