Skip to content

Commit

Permalink
CI: remove test against Amaranth 0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfng authored and whitequark committed Nov 27, 2023
1 parent 4a14bb1 commit a231c4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- '3.8'
# this version range needs to be synchronized with the one in pyproject.toml
amaranth-version:
- '0.3'
- 'git'
fail-fast: false
steps:
Expand All @@ -27,14 +26,18 @@ jobs:
if: ${{ matrix.amaranth-version != 'git' }}
run: |
pip install 'amaranth==${{ matrix.amaranth-version }}'
- name: Downgrade MarkupSafe
if: ${{ matrix.amaranth-version == '0.3' }}
run: |
pip install 'MarkupSafe==2.0.1'
- name: Install Amaranth from git
if: ${{ matrix.amaranth-version == 'git' }}
run: |
pip install git+https://github.com/amaranth-lang/amaranth.git
- name: Test
run: |
python -m unittest discover
required: # group all required workflows into one for the required status check
needs:
- test
runs-on: ubuntu-latest
steps:
- run: |
true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = {file = "LICENSE.txt"}
requires-python = "~=3.8"
dependencies = [
# this version requirement needs to be synchronized with the one in .github/workflows/main.yml
"amaranth>=0.3,<0.5",
"amaranth@git+https://github.com/amaranth-lang/amaranth",
]

[project.urls]
Expand Down

0 comments on commit a231c4c

Please sign in to comment.