Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poetry to 1.8.0 and update versions of actions #3788

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,12 @@ To run the tests locally, **you will need the following dependencies**:
automatically generate consistent, stable build/test environments.
- **Python 3.8+**: our build system is constructed with Python given that
testing is built with glotter, a Python testing library that leverages docker.
- **Poetry**: our build system is managed and versioned using Poetry.
- **Poetry**: our build system is managed and versioned using Poetry. Make sure
to use version **1.8.0** or later. If you are using an older version, please
update to the latest.

With all three installed, the remaining dependencies can be installed using
`poetry install --no-root`. After that, running the tests is a matter of running
`poetry install`. After that, running the tests is a matter of running
glotter directly as follows:

```sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.11"]
poetry-version: ["1.7.1"]
poetry-version: ["1.8.0"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Run Poetry Image
uses: abatilo/actions-poetry@v2
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Install Dependencies
run: poetry install --no-root
run: poetry install

- name: Generate READMEs
run: poetry run ronbun . --log=DEBUG
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,26 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.11"]
poetry-version: ["1.7.1"]
poetry-version: ["1.8.0"]
os: [ubuntu-latest]
num_batches: [6]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Run Poetry Image
uses: abatilo/actions-poetry@v2
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Install Dependencies
run: poetry install --no-root
run: poetry install

- name: Download Docker images, Test All Sample Programs, Remove Docker Images
run: poetry run glotter batch ${{ matrix.num_batches }} --parallel --remove
Loading
Loading