Skip to content

Commit 9265737

Browse files
committed
Consolidate the Rust and Sqllogictest tests
1 parent ca5fa04 commit 9265737

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/lints.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Linters
1+
name: Run Rust Linters
22

33
on:
44
workflow_dispatch:
@@ -10,7 +10,7 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
lint:
13+
lints:
1414
runs-on: ubuntu-latest
1515

1616
steps:

.github/workflows/tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ on:
55
pull_request:
66
branches:
77
- main
8+
push:
9+
branches:
10+
- main
811

912
permissions:
1013
contents: read
1114

1215
jobs:
13-
test:
16+
tests:
1417
runs-on: ubuntu-latest
1518

1619
steps:
@@ -28,7 +31,12 @@ jobs:
2831
sudo apt-get install -y gcc curl pkg-config libssl-dev make
2932
cargo install cargo-tarpaulin
3033
31-
- name: Run Tests and Generate Coverage Report
34+
- name: Build Infera and Run Sqllogictest Tests
35+
run: |
36+
make release
37+
make test
38+
39+
- name: Run Rust Tests and Generate Coverage Report for Rust Code
3240
run: make rust-coverage # Generates a coverage report for Infera crate
3341

3442
- name: Upload Coverage Reports to Codecov

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<h2>Infera</h2>
88

99
[![Tests](https://img.shields.io/github/actions/workflow/status/CogitatorTech/infera/tests.yml?label=tests&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/infera/actions/workflows/tests.yml)
10-
[![Code Coverage](https://img.shields.io/codecov/c/github/CogitatorTech/infera?label=coverage&style=flat&labelColor=282c34&logo=codecov)](https://codecov.io/gh/CogitatorTech/infera)
1110
[![Code Quality](https://img.shields.io/codefactor/grade/github/CogitatorTech/infera?label=quality&style=flat&labelColor=282c34&logo=codefactor)](https://www.codefactor.io/repository/github/CogitatorTech/infera)
1211
[![Examples](https://img.shields.io/badge/examples-view-green?style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/infera/tree/main/docs/examples)
1312
[![Docs](https://img.shields.io/badge/docs-view-blue?style=flat&labelColor=282c34&logo=read-the-docs)](https://github.com/CogitatorTech/infera/tree/main/docs)

0 commit comments

Comments
 (0)