Test periodically #187
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 periodically | |
on: | |
schedule: | |
- cron: "0 20 * * 1,4" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Pandoc | |
run: | |
wget | |
https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb | |
- name: Install Pandoc | |
run: sudo dpkg -i pandoc-2.18-1-amd64.deb | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |