summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-05-17 18:07:24 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-05-19 12:13:36 +0000
commit5b473b2dda70b2fb45916b3395c401ee95bdf45a (patch)
tree812f590d60952e6d30488b4e36f2e672d50289d0 /.github
parent16838228660d3cf2d43e22b8d70a6ee0bc0c7ebb (diff)
downloadmullvadvpn-5b473b2dda70b2fb45916b3395c401ee95bdf45a.tar.xz
mullvadvpn-5b473b2dda70b2fb45916b3395c401ee95bdf45a.zip
Add GitHub Actions worflow for testing the tool
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/translations-converter.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/translations-converter.yml b/.github/workflows/translations-converter.yml
new file mode 100644
index 0000000000..d9676f513a
--- /dev/null
+++ b/.github/workflows/translations-converter.yml
@@ -0,0 +1,24 @@
+name: Translations converter tool CI
+on:
+ # Run whenever a file that affects the translations converter tool is changed
+ push:
+ paths:
+ - .github/workflows/translations-converter.yml
+ - android/translations-converter/**
+ # Check if requested manually from the Actions tab
+ workflow_dispatch:
+jobs:
+ check-translations:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ - name: Install Rust
+ uses: ATiltedTree/setup-rust@v1.0.4
+ with:
+ rust-version: stable
+
+ - name: Build and test translations converter tool
+ working-directory: android/translations-converter
+ run: cargo test