Skip to content

Merge pull request #2 from hyuqing11/package_version #2

Merge pull request #2 from hyuqing11/package_version

Merge pull request #2 from hyuqing11/package_version #2

Workflow file for this run

name: Python CI and testing
on: [push]
# Setup the environment
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
source venv/bin/activate
pytest