Skip to content

Commit

Permalink
test worklfow error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurDeclercq committed Dec 3, 2024
1 parent d31d5a1 commit d05b4ae
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,28 @@ name: Test and Lint Workflow
on:
push:
branches:
- '*'
- '*'
pull_request:
branches:
- main
- main

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11, 3.12]

steps:
# Checkout the code from the repository
- name: Checkout code
uses: actions/checkout@v3

# Set up Python environment
- name: Set up Python 3.10
# Set up Python environment for each version in the matrix
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: [3.10, 3.11, 3.12]
python-version: ${{ matrix.python-version }}

# Install dependencies
- name: Install dependencies
Expand All @@ -45,4 +48,4 @@ jobs:
- name: Run tests with pytest
run: |
pip install pytest
pytest --disable-warnings -q
pytest --maxfail=1 --disable-warnings -q

0 comments on commit d05b4ae

Please sign in to comment.