Update readme - release links and fix badge #563
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: Workflow for basic tests | |
on: | |
push: | |
paths: | |
- 'minegauler/**' | |
- 'tests/**' | |
- '.github/**' | |
- 'requirements.txt' | |
pull_request: | |
branches: [dev] | |
env: | |
DISPLAY: ":0" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: "3.8" | |
- name: Install Python requirements | |
run: | | |
pip install wheel | |
pip install -r requirements-dev.txt | |
- name: Set up X-server | |
run: | | |
sudo apt-get install -y xvfb libxkbcommon-x11-0 | |
Xvfb :0 & | |
- name: Run MUT | |
run: python -m pytest tests/mut/ | |
- name: Run IT | |
run: python -m pytest tests/it/ |