Skip to content

Commit

Permalink
chore(ci): update a bit and fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
auredentan committed Nov 15, 2021
1 parent a06a67c commit 4e32d52
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on:


jobs:
runs-on: ubuntu-latest
publish:
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
- name: Publish package
run: poetry publish --build
steps:
- name: Configure poetry
run: poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
- name: Build and publish package
run: poetry publish --build

12 changes: 0 additions & 12 deletions .github/workflows/rebase.yml

This file was deleted.

16 changes: 6 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@

name: Test

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]
types: [opened, synchronize, ready_for_review]

jobs:

Expand All @@ -18,10 +14,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python 3.6
uses: actions/setup-python@v1
- name: Set up Python 3.9
uses: actions/setup-python@v2.2.2
with:
python-version: 3.6
python-version: 3.9

- name: Set up the cache
uses: actions/cache@v1
Expand All @@ -48,15 +44,15 @@ jobs:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
poetry-version: [1.0.10]
poetry-version: [1.0.10, 1.1.11]
os: [ubuntu-18.04, macos-latest, windows-latest]
fail-fast: false

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2.2.2
with:
python-version: ${{ matrix.python-version }}
- name: Setup poetry
Expand Down

0 comments on commit 4e32d52

Please sign in to comment.