Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuqing11 committed Jul 31, 2024
1 parent c884d1c commit bc94521
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Python CI and testing

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Copy the code to test
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.10
- name: INstall dependencies
run: python -m pip install --update pip && pip install pytest
- name: Test code with pytest
run: pytest

0 comments on commit bc94521

Please sign in to comment.