Skip to content

Add CI for runner example #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 0 additions & 55 deletions .github/workflows/ci.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# tox enviroments that run on both pull requests and merge to main
name: ci

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
strategy:
# fail-fast: false
matrix:
python-version: ['3.10', '3.11']
# you can separate the tox-envs in different .yml files
# see version 0.10.1
# https://github.com/joaomcteixeira/python-project-skeleton/releases/tag/v0.10.1
# below the list of tox envs that you wish to include in the matrix
tox-envs: [docs, lint, build, test]

runs-on: pps

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tox

- name: unit tests
run: tox -e ${{ matrix.tox-envs }}
89 changes: 0 additions & 89 deletions .github/workflows/version-bump-and-package.yml

This file was deleted.