Skip to content

Commit

Permalink
WIP Run tests via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Terr committed Nov 11, 2024
1 parent bdc97fd commit c0dde16
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: create-release
run-name: Creating release for tag ${{ github.ref_name }}
name: Create release
run-name: Create release for tag ${{ github.ref_name }}

on:
push:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run tests

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always
PROJECT_NAME: "outlaw-format"

jobs:
test:
name: Test suite
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit c0dde16

Please sign in to comment.