Create main.yml
This commit is contained in:
1 parent
a3dbf9cbe3
commit
8d75a75ee4
1 file changed
+18
@@ -0,0 +1,18 @@
|
|||||||
|
name: Python package
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: ["3.12"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Test on Python ${{ matrix.python-version }}
|
||||||
|
run: python -m unittest discover tests --verbose
|
||||||
Reference in new issue
Block a user