Skip to content
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
70 changes: 35 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,41 @@ on:
- published

jobs:
smoke-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
fail-fast: false

steps:
- name: Check out
uses: actions/checkout@v3

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

- name: Install the latest version of rye
uses: eifinger/setup-rye@v4
id: setup-rye
with:
enable-cache: true
cache-prefix: ${{ matrix.python-version }}

- name: Pin python-version ${{ matrix.python-version }}
run: rye pin ${{ matrix.python-version }}

- name: Install dependencies
if: steps.setup-rye.outputs.cache-hit != 'true'
run: |
rye sync --no-lock

- name: Run tests
env:
MAG_API_KEY: ${{ secrets.MAG_API_KEY }}
run: rye run pytest -vs smoke/test_smoke.py
# smoke-test:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.12"]
# fail-fast: false
#
# steps:
# - name: Check out
# uses: actions/checkout@v3
#
# - name: Set Up python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
#
# - name: Install the latest version of rye
# uses: eifinger/setup-rye@v4
# id: setup-rye
# with:
# enable-cache: true
# cache-prefix: ${{ matrix.python-version }}
#
# - name: Pin python-version ${{ matrix.python-version }}
# run: rye pin ${{ matrix.python-version }}
#
# - name: Install dependencies
# if: steps.setup-rye.outputs.cache-hit != 'true'
# run: |
# rye sync --no-lock
#
# - name: Run tests
# env:
# MAG_API_KEY: ${{ secrets.MAG_API_KEY }}
# run: rye run pytest -vs smoke/test_smoke.py

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "magicalapi"
version = "1.2.0-2"
version = "1.2.1"
description = "This is a Python client that provides easy access to the MagicalAPI.com services, fully type annotated, and asynchronous."
authors = [
{ name = "MagicalAPI", email = "info@magicalapi.com" }
Expand Down
Loading