diff options
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b0aeaf9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +env: + FORCE_COLOR: 3 + +jobs: + check-package: + name: Build & inspect + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: hynek/build-and-inspect-python-package@v1 + + test: + name: Run quick tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: wntrblm/nox@2023.04.22 + with: + python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12-dev" + - run: nox -s tests |