minor #8
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: run-test | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Run Python Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup timezone | |
uses: zcong1993/setup-timezone@master | |
with: | |
timezone: UTC | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip3 install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
pytest -s |