Testing action
This commit is contained in:
27
.gitea/workflows/test.yaml
Normal file
27
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Initializing rust environment.
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Update system
|
||||
run: |
|
||||
apt-get update -qy
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get install -y curl
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
- name: Running testbench
|
||||
run: |
|
||||
cargo test
|
||||
Reference in New Issue
Block a user