Skip to content

Commit 1ad90b5

Browse files
authored
Merge pull request #1 from pub-solar/ci
ci: use GitHub Actions
2 parents 5919d13 + a1fba0b commit 1ad90b5

2 files changed

Lines changed: 26 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Python CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python:
12+
- {version: "3.9", toxenv: "py39"}
13+
- {version: "3.10", toxenv: "py310"}
14+
- {version: "3.11", toxenv: "py311"}
15+
- {version: "3.12", toxenv: "py312"}
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python ${{ matrix.python.version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python.version }}
23+
- name: Install dependencies
24+
run: python -m pip install tox
25+
- name: Run tests
26+
run: tox -e "${{ matrix.python.toxenv }}"

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)