Skip to content

Commit

Permalink
Update build_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinsonBeaucour authored Jun 12, 2024
1 parent e28154f commit ed34dda
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: build-test
on: [push, pull_request, workflow_dispatch]

jobs:
build:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10']
python-version: [3.9, 3.10]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -23,22 +23,6 @@ jobs:
run: poetry lock
- name: Build package
run: poetry build

test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install Poetry
run: pip install poetry
- name: Configure Poetry
run: poetry config virtualenvs.in-project true
- name: Lock dependencies
run: poetry lock
- name: Install dependencies
run: poetry install --with dev
- name: Run tests
Expand Down

0 comments on commit ed34dda

Please sign in to comment.