Skip to content

Merge pull request #17 from captainhammy/feature/issue-15/use-ruff-fo… #41

Merge pull request #17 from captainhammy/feature/issue-15/use-ruff-fo…

Merge pull request #17 from captainhammy/feature/issue-15/use-ruff-fo… #41

Workflow file for this run

# Execute repository tests.
name: Tests
on:
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
houdini-version: ["20.0", "19.5"]
include:
- houdini-version: "20.0"
python-version: "3.10"
- houdini-version: "19.5"
python-version: "3.9"
container:
image: captainhammy/hython-runner:${{ matrix.houdini-version }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: pypy${{ matrix.python-version }}
- name: Install Apprentice Licenses
uses: captainhammy/install-houdini-apprentice-license-action@v5
with:
client_id: ${{ secrets.SESI_CLIENT_ID }}
client_secret_key: ${{ secrets.SESI_SECRET_KEY }}
- name: Install dependencies
run: python${{ matrix.python-version }} -m pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}