Bump version #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
test_macos: | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install libeditorconfig | |
run: brew install editorconfig | |
- name: Build and run tests with existing bindings | |
run: | | |
cargo build | |
cargo test | |
cargo clean | |
- name: Build and run tests with auto-generated bindings | |
run: | | |
cargo build --features buildtime-bindgen | |
cargo test --features buildtime-bindgen | |
test_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install libeditorconfig | |
run: sudo apt-get update && sudo apt-get install libeditorconfig-dev | |
- name: Build and run tests with existing bindings | |
run: | | |
cargo build | |
cargo test | |
cargo clean | |
- name: Build and run tests with auto-generated bindings | |
run: | | |
cargo build --features buildtime-bindgen | |
cargo test --features buildtime-bindgen |