From f9f63beb0634f6b305b191de245bb806cc61210e Mon Sep 17 00:00:00 2001 From: DarrenOfficial Date: Mon, 27 Dec 2021 12:35:48 -0500 Subject: [PATCH] Github workflow test. This is for validating the python code, instead of using travis.ci. --- .github/workflows/python-validations.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/python-validations.yml diff --git a/.github/workflows/python-validations.yml b/.github/workflows/python-validations.yml new file mode 100644 index 0000000..a0fb270 --- /dev/null +++ b/.github/workflows/python-validations.yml @@ -0,0 +1,25 @@ +name: Python Check + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + + 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 + pip install tox-travis coverage codacy-coverage + - name: Test with tox + run: | + tox \ No newline at end of file