diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-06 15:31:21 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-06 15:31:21 +0200 |
commit | 2518807c1e1ac47384a651fd7214a475707ebd1b (patch) | |
tree | f4c3402099b1d98dae9b849aedbb239f4928f9e0 /.github | |
parent | 9825d2c49efcadb8c6ead09d679449c1c06fad88 (diff) | |
download | planetwars.dev-2518807c1e1ac47384a651fd7214a475707ebd1b.tar.xz planetwars.dev-2518807c1e1ac47384a651fd7214a475707ebd1b.zip |
run matchrunner tests in CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust-tests.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml new file mode 100644 index 0000000..ab3a7eb --- /dev/null +++ b/.github/workflows/rust-tests.yml @@ -0,0 +1,31 @@ +name: Run rust tests + +on: [push] + +jobs: + test-rust: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Update local toolchain + run: | + rustup update + rustup component add clippy + rustup install nightly + + - name: Toolchain info + run: | + cargo --version --verbose + rustc --version + cargo clippy --version + + - name: Setup tests + run: | + docker pull python:3.10-slim-buster + + - name: Test + run: | + cd planetwars-matchrunner + cargo check + cargo test --all
\ No newline at end of file |