aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/run-tests.yml
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-02-12 01:46:18 +0100
committerGitHub <noreply@github.com>2020-02-12 01:46:18 +0100
commit8e708b65365aeb0591aee39d2ffb7c59239ffc3f (patch)
treeafe2c5e41cda8cbdb61522bf1b9c9911eb2c86b8 /.github/workflows/run-tests.yml
parent96ea75ebce848e5c5354956315fb4ba9fd6bffed (diff)
parent3d6688e6cb45bc1c8ec85abebfa57637e071d5ac (diff)
downloadpokebot-8e708b65365aeb0591aee39d2ffb7c59239ffc3f.tar.gz
pokebot-8e708b65365aeb0591aee39d2ffb7c59239ffc3f.zip
Merge pull request #32 from Mavulp/release-workflowv0.2.0
Release workflow
Diffstat (limited to '.github/workflows/run-tests.yml')
-rw-r--r--.github/workflows/run-tests.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
new file mode 100644
index 0000000..63638a9
--- /dev/null
+++ b/.github/workflows/run-tests.yml
@@ -0,0 +1,18 @@
+name: Rust
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Clone pokebot
+ uses: actions/checkout@v1
+ - name: Update repositories
+ run: sudo apt-get update
+ - name: Install gstreamer dependency
+ run: sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose