Remove secp256k1 mentions, fix deps (#375) #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- 'pyproject.toml' | |
- 'poetry.lock' | |
- '.github/workflows/test.yml' | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: '3.12' | |
- os: ubuntu-latest | |
arch: arm64 | |
python-version: '3.12' | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: '3.11' | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: '3.10' | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: '3.9' | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: '3.8' | |
# FIXME: docker.errors.DockerException: Error while fetching server API version | |
# - os: macos-latest | |
# arch: amd64 | |
# - os: macos-latest | |
# arch: arm64 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# FIXME: | |
# cache: 'poetry' | |
- name: Install binary dependencies | |
run: OSTYPE=$OSTYPE make install-deps | |
- name: Install project | |
run: make install | |
- name: Run lint | |
run: make lint | |
if: contains(matrix.python-version, '3.12') | |
- name: Run tests | |
run: OSTYPE=$OSTYPE make test-ci | |
- name: Publish results | |
uses: EnricoMi/publish-unit-test-result-action/composite@v2 | |
if: always() | |
with: | |
junit_files: "*.xml" |