Skip to content

Commit

Permalink
Add ci-test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Nov 15, 2023
1 parent 487c667 commit 09dbd0e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Testing pipeline

on:
pull_request:
types: [synchronize, opened, reopened]
branches:
- main

concurrency: # Cancel previous workflows on the same pull request
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-test:
name: Test on ${{ matrix.os }} OS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install -U pip # Official recommended way
pip install -e .
- name: Test pipeline with pytest
run: |
pytest -v
shell: bash # Necessary for pipeline to work on windows

0 comments on commit 09dbd0e

Please sign in to comment.