0.2.19 #331
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: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Set PATH | |
run: echo "$(pwd)/target/debug:$PATH" >> $GITHUB_PATH | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'guybedford/chomp-extensions' | |
path: 'chomp-extensions' | |
- name: Run Core Tests | |
run: chomp -c test/chompfile.toml test | |
env: | |
CHOMP_CORE: ../chomp-extensions | |
- name: Run Template Tests | |
run: chomp -c chomp-extensions/chompfile.toml test | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install latest stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: cargo | |
- name: Build | |
run: cargo build --verbose | |
- name: Set PATH | |
run: echo echo "$(pwd)/target/debug" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'guybedford/chomp-extensions' | |
path: 'chomp-extensions' | |
- name: Run Core Tests | |
run: chomp -c test/chompfile.toml test | |
env: | |
CHOMP_CORE: ../chomp-extensions | |
- name: Run Template Tests | |
run: chomp -c chomp-extensions/chompfile.toml test |