Skip to content

Commit

Permalink
run test using GA
Browse files Browse the repository at this point in the history
  • Loading branch information
AtrCheema committed Sep 3, 2022
1 parent 27492b3 commit af70eb2
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/python-unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: py37
on:
push:
branches: [ dev ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install -r dev_requirements.txt
- name: Test with unittest
run: |
conda install pytest
pip install coverage
pip install codecov
pip install python-coveralls
coverage run -m unittest tests.test_cls
coverage run -m unittest tests.test_rgr
coverage run -m unittest tests.test_utils

0 comments on commit af70eb2

Please sign in to comment.