xtcl/.gitea/workflows/test.yaml

29 lines
536 B
YAML

name: Run the tests for a working verification of xtcl.
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Prepare system
run: |
apt-get update -qy
- name: Install dependencies
run: |
apt-get install -y curl
curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Run test rule using cargo
run: |
. "$HOME/.cargo/env"
cargo test