Skip to content

Commit

Permalink
CI: Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed May 1, 2024
1 parent c8dcf12 commit bc09c3c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.10']

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Run tests
run: |
python run_tests.py
- name: Build package
run: |
python -m build

0 comments on commit bc09c3c

Please sign in to comment.