diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml new file mode 100644 index 0000000..9de490a --- /dev/null +++ b/.github/workflows/python-ci.yml @@ -0,0 +1,20 @@ +name: Python CI and testing + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Copy the code to test + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: 3.10 + - name: INstall dependencies + run: python -m pip install --update pip && pip install pytest + - name: Test code with pytest + run: pytest +