Skip to content

Commit

Permalink
Simplify requirements
Browse files Browse the repository at this point in the history
Simpler tests workflow

fix workflow file

Fix
  • Loading branch information
jeromekelleher committed Apr 17, 2024
1 parent e69131c commit 31553d1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 187 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/ci.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on: [push, pull_request]

jobs:
build:

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

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Run tests
run: python -m pytest -vs
6 changes: 0 additions & 6 deletions requirements.dev.in

This file was deleted.

93 changes: 0 additions & 93 deletions requirements.dev.txt

This file was deleted.

5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
black
pytest
msprime
tskit
numba

0 comments on commit 31553d1

Please sign in to comment.