forgot to remove import #33
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: Python tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
# env: | |
# DISPLAY: ":99.0" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8','3.9', ] | |
name: Python ${{ matrix.python-version }} sample | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
# - run: sudo apt install xvfb | |
# - name: Start xvfb | |
# run: | | |
# Xvfb :99 -screen 0 1920x1080x24 &disown | |
- name: Run the tests | |
run: python3 -m unittest discover -s tests -t . |