diff options
author | benadha <benawiadha@gmail.com> | 2022-02-13 22:29:13 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2022-02-13 22:29:13 +0700 |
commit | bfb2f1a650a4bffa0b3b597d0ff2d5ef76ed4caf (patch) | |
tree | 7a4a57800e01cb2447773db24c55362151dd801f | |
parent | 741c9a9c8500c1ae2ae2cc2b1cab2ae063e0f769 (diff) | |
download | epy-bfb2f1a650a4bffa0b3b597d0ff2d5ef76ed4caf.tar.gz |
Add Github Action workflows for testing
-rw-r--r-- | .github/workflows/tests.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..065cb0d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,23 @@ +name: Run Tests + +on: + push: + branches: + - master + paths: + - epy.py + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "3.x" + - uses: abatilo/actions-poetry@v2.0.0 + - name: Install dev dependencies + run: poetry install --no-root + - name: Run tests + run: poetry run python -m pytest -vv + |