Add testbench as action
Some checks failed
Run the tests for a working verification of xtcl. / build (ubuntu-20.04) (push) Failing after 1m20s
Some checks failed
Run the tests for a working verification of xtcl. / build (ubuntu-20.04) (push) Failing after 1m20s
This commit is contained in:
27
.gitea/workflows/test.yaml
Normal file
27
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
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: |
|
||||
cargo test
|
||||
Reference in New Issue
Block a user