Skip to content

Commit

Permalink
Use github actions (remove traivsCI configuration)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayalash committed Aug 27, 2024
1 parent 7fee1f6 commit af45b8b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 23 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:
# manually triggered

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup venv
run: |
python -m venv .env
.env/bin/pip install '.[testing]'
- name: Tests
run: .env/bin/pytest -v
- name: Tests with Flux
run: |
.env/bin/pip install flux
.env/bin/pytest -v
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit af45b8b

Please sign in to comment.