Skip to content

Commit 39a801a

Browse files
committed
Merge branch 'main' of github.com:dflook/python-minifier
2 parents 840f5bd + 8ed7d7e commit 39a801a

18 files changed

+323
-576
lines changed

.circleci/Dockerfile-fedora28

Lines changed: 0 additions & 25 deletions
This file was deleted.

.circleci/Dockerfile-fedora30

Lines changed: 0 additions & 35 deletions
This file was deleted.

.circleci/build-images.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

.circleci/local-test.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 6 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ jobs:
88

99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
container:
12-
image: danielflook/python-minifier-build:fedora34-2021-10-05
14+
image: danielflook/python-minifier-build:python3.10-2022-04-12
1315
steps:
1416
- name: Checkout
1517
uses: actions/checkout@v2
@@ -50,57 +52,11 @@ jobs:
5052
runs-on: ubuntu-latest
5153
strategy:
5254
matrix:
53-
python: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8]
54-
needs: [release]
55+
python: ["2.7", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
5556
container:
56-
image: danielflook/python-minifier-build:fedora30-2020-05-03
57+
image: danielflook/python-minifier-build:python${{ matrix.python }}-2022-04-12
5758
steps:
58-
- name: Checkout
59-
uses: actions/checkout@v2
60-
61-
- name: Install package
59+
- name: Test
6260
run: |
63-
if [[ "${{ matrix.python }}" == "2.7" || "${{ matrix.python }}" == "3.7" ]]; then
64-
echo "pip is already installed"
65-
elif [[ "${{ matrix.python }}" == "3.8" ]]; then
66-
curl https://bootstrap.pypa.io/get-pip.py | python${{ matrix.python }}
67-
else
68-
curl https://bootstrap.pypa.io/pip/${{ matrix.python }}/get-pip.py | python${{ matrix.python }}
69-
fi
70-
7161
pip${{ matrix.python }} install python-minifier==${{ github.event.release.tag_name }}
7262
pyminify --version
73-
74-
test_package_3_3:
75-
runs-on: ubuntu-latest
76-
needs: [release]
77-
container:
78-
image: danielflook/python-minifier-build:fedora28-2020-05-03
79-
steps:
80-
- name: Install package
81-
run: |
82-
curl https://bootstrap.pypa.io/pip/3.3/get-pip.py | python3.3
83-
pip3.3 install python-minifier==${{ github.event.release.tag_name }}
84-
pyminify --version
85-
86-
test_package_3_9:
87-
runs-on: ubuntu-latest
88-
needs: [release]
89-
container:
90-
image: danielflook/python-minifier-build:fedora32-2020-10-11
91-
steps:
92-
- name: Install package
93-
run: |
94-
pip3.9 install python-minifier==${{ github.event.release.tag_name }}
95-
pyminify --version
96-
97-
test_package_3_10:
98-
runs-on: ubuntu-latest
99-
needs: [release]
100-
container:
101-
image: danielflook/python-minifier-build:fedora34-2021-10-05
102-
steps:
103-
- name: Install package
104-
run: |
105-
pip3.10 install python-minifier==${{ github.event.release.tag_name }}
106-
pyminify --version

0 commit comments

Comments
 (0)