Skip to content

Commit

Permalink
gh actions draft
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Dec 11, 2023
1 parent 3ed25fa commit 3ac842b
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: hapsira test suite

on:
push: {}
schedule:
- cron: '30 9 7 * *'

jobs:

specifics:
strategy:
matrix:
tox-env: [
"fast",
"online",
"slow",
"images"
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Update Python infrastructure
run: |
python -m pip install --upgrade pip
pip install -U tox
- name: Versions
run:
python --version
tox --version
- name: Run tests
run: |
tox -e tests38-${{ matrix.tox-env }}
build:
strategy:
matrix:
python-version: [
"3.8",
"3.9",
"3.10",
"3.11"
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Update Python infrastructure
run: |
python -m pip install --upgrade pip
pip install -U tox
- name: Versions
run:
python --version
tox --version
- name: Run tests
run: |
tox

0 comments on commit 3ac842b

Please sign in to comment.