From e1126d24b75591856134f0b80225c3f8f29f5394 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 19:48:29 +0800 Subject: [PATCH 1/9] update awesome --- awesome/__init__.py | 3 +++ awesome/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 355 bytes time.txt | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 awesome/__pycache__/__init__.cpython-39.pyc diff --git a/awesome/__init__.py b/awesome/__init__.py index 4d34acc6..f2cede7f 100644 --- a/awesome/__init__.py +++ b/awesome/__init__.py @@ -3,3 +3,6 @@ def smile(): def frown(): return ":(" + +def hello(): + return "hello world" \ No newline at end of file diff --git a/awesome/__pycache__/__init__.cpython-39.pyc b/awesome/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d8ba9da36bbaf37fe236f998daa3cea59a270567 GIT binary patch literal 355 zcmYe~<>g`kf{U`36C8l_V-N=!FabFZKwK;WBvKes7+V;k7*d#0n1M873QI79CTlWK z1_dwzdCovw%mO4*7=db-{HmC&G*>bdfus<`S1XVLs~A78(3s~7raWJ{?fI1XF;8|c ze!ieFCbc3lw;(4~x1h2lBR?-Du{^anKQ}cdK0Y%qvm`!Vub}c4YjJL7PAbUEVvsu- z7>k&JB(d(%KsW@61v2OsYg$o$c^=65FoQvCKTRgE1w|kZk`}P1!1_3Ba`RJ4b5iZ# IZsK4D0PTA}dH?_b literal 0 HcmV?d00001 diff --git a/time.txt b/time.txt index a9f3b150..5d6770a8 100644 --- a/time.txt +++ b/time.txt @@ -1 +1 @@ -1585101003 +1585101003 \ No newline at end of file From ee240dd4d777654095b221d434437a26c59cd0b2 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 19:58:53 +0800 Subject: [PATCH 2/9] update awesome --- awesome/__init__.py | 2 +- azure-pipelines.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/awesome/__init__.py b/awesome/__init__.py index f2cede7f..74dc951d 100644 --- a/awesome/__init__.py +++ b/awesome/__init__.py @@ -5,4 +5,4 @@ def frown(): return ":(" def hello(): - return "hello world" \ No newline at end of file + return "hello world!,dsa" \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c9ea4d44..a3977ae8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,3 +32,7 @@ steps: - script: | bash <(curl -s https://codecov.io/bash) displayName: 'Upload to codecov.io' +- name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v1 + with: + fail_ci_if_error: true \ No newline at end of file From da4a17af951a7a1df300cbe8a1c4760d403d415d Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:04:01 +0800 Subject: [PATCH 3/9] update awesome --- .github/workflows/main.yml | 39 ++++++++++++++++++++++++++++++++++++++ azure-pipelines.yml | 2 ++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..8fb310f2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,39 @@ + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' +strategy: + matrix: + Python35: + python.version: '3.5' + Python36: + python.version: '3.6' + Python37: + python.version: '3.7' + Python39: + python.version: '3.9' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + +- script: | + python -m pip install --upgrade pip + pip install coverage + displayName: 'Install coverage' + +- script: | + coverage run tests.py + displayName: 'Run tests' + +- script: | + bash <(curl -s https://codecov.io/bash) + displayName: 'Upload to codecov.io' +- name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v1 + with: + fail_ci_if_error: true \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a3977ae8..67e086a9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,6 +13,8 @@ strategy: python.version: '3.6' Python37: python.version: '3.7' + Python39: + python.version: '3.9' steps: - task: UsePythonVersion@0 From c3b7fbec3dada9a564fe1f027e6136ece3925711 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:08:22 +0800 Subject: [PATCH 4/9] update awesome --- .github/workflows/main.yml | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8fb310f2..d19fa0ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,37 +2,11 @@ trigger: - master -pool: - vmImage: 'ubuntu-latest' -strategy: - matrix: - Python35: - python.version: '3.5' - Python36: - python.version: '3.6' - Python37: - python.version: '3.7' - Python39: - python.version: '3.9' +on: + push: + branches: + - 'master' -steps: -- task: UsePythonVersion@0 - inputs: - versionSpec: '$(python.version)' - displayName: 'Use Python $(python.version)' - -- script: | - python -m pip install --upgrade pip - pip install coverage - displayName: 'Install coverage' - -- script: | - coverage run tests.py - displayName: 'Run tests' - -- script: | - bash <(curl -s https://codecov.io/bash) - displayName: 'Upload to codecov.io' - name: "Upload coverage to Codecov" uses: codecov/codecov-action@v1 with: From d14408a714fde8e7357af36cdc87415ea1de8de3 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:10:03 +0800 Subject: [PATCH 5/9] update awesome --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d19fa0ea..f3793b80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,8 +6,9 @@ on: push: branches: - 'master' - -- name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v1 - with: - fail_ci_if_error: true \ No newline at end of file + +steps: + - name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v1 + with: + fail_ci_if_error: true \ No newline at end of file From 6b489940683db65f23a589ed6b7bd68ccced59cb Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:14:35 +0800 Subject: [PATCH 6/9] update awesome --- .github/workflows/main.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3793b80..c04e54e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,5 @@ - -trigger: -- master - -on: - push: - branches: - - 'master' - steps: + # (Other steps go here) - name: "Upload coverage to Codecov" uses: codecov/codecov-action@v1 with: From d482cac8a1ae817f6fa756196536f120f62ba222 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:21:14 +0800 Subject: [PATCH 7/9] s --- .github/workflows/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c04e54e1..e69de29b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +0,0 @@ -steps: - # (Other steps go here) - - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v1 - with: - fail_ci_if_error: true \ No newline at end of file From b5e0c5c55716875e1fb2bc2be23381cd965fd053 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:22:37 +0800 Subject: [PATCH 8/9] s --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a5342d85..84121d2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: false language: python # Set the python version to 2.7 -python: 2.7 +python: 3.9 # Install the codecov pip dependency install: From 031b89ffb98fc4cc69e0336b4c678751414aacf0 Mon Sep 17 00:00:00 2001 From: LDawns <250858445@qq.com> Date: Wed, 23 Jun 2021 20:48:12 +0800 Subject: [PATCH 9/9] x --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 84121d2a..a5342d85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: false language: python # Set the python version to 2.7 -python: 3.9 +python: 2.7 # Install the codecov pip dependency install: