Skip to content

Commit

Permalink
enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Aug 8, 2024
1 parent cc07359 commit 6099ebc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: patron tests

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly

steps:
- name: Update Rust to ${{ matrix.toolchain }}
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 6099ebc

Please sign in to comment.