add logging for #73 #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup | |
run: | | |
sudo add-apt-repository multiverse | |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
echo steam steam/question select "I AGREE" | sudo debconf-set-selections | |
echo steam steam/license note '' | sudo debconf-set-selections | |
sudo apt install -y lib32gcc-s1 steamcmd | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |