Skip to content

Commit

Permalink
github actions: Set up py.test to run on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Oct 10, 2023
1 parent b0722f2 commit 682a397
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8' ]
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements_dev.txt
- name: Install requirements_dev.txt
run: pip install -r requirements_dev.txt
- name: Test
run: py.test

0 comments on commit 682a397

Please sign in to comment.