From 94eeecf4f6772de888c2b877ef901c6a5ee8ba71 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Jun 2021 20:50:38 +0300 Subject: workflows/test -> workflows/ci --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ .github/workflows/test.yml | 23 ----------------------- README.md | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a52c7ce --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: Test + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + test: + strategy: + matrix: + python-version: [3.6, 3.7, 3.8, 3.9, 3.x] + runs-on: ubuntu-latest + name: 'Python ${{ matrix.python-version }}' + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '${{ matrix.python-version }}' + - name: Run tests + run: ./test/test.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index a52c7ce..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Test - -on: - push: - pull_request: - workflow_dispatch: - -jobs: - test: - strategy: - matrix: - python-version: [3.6, 3.7, 3.8, 3.9, 3.x] - runs-on: ubuntu-latest - name: 'Python ${{ matrix.python-version }}' - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '${{ matrix.python-version }}' - - name: Run tests - run: ./test/test.sh diff --git a/README.md b/README.md index 2e65a97..09cfd97 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ linux-status ============ -[![Test](https://github.com/egor-tensin/linux-status/actions/workflows/test.yml/badge.svg)](https://github.com/egor-tensin/linux-status/actions/workflows/test.yml) +[![CI](https://github.com/egor-tensin/linux-status/actions/workflows/ci.yml/badge.svg)](https://github.com/egor-tensin/linux-status/actions/workflows/ci.yml) [![Packages (Debian)](https://github.com/egor-tensin/linux-status/actions/workflows/debian.yml/badge.svg)](https://github.com/egor-tensin/linux-status/actions/workflows/debian.yml) [![Publish (Launchpad)](https://github.com/egor-tensin/linux-status/actions/workflows/ppa.yml/badge.svg)](https://github.com/egor-tensin/linux-status/actions/workflows/ppa.yml) -- cgit v1.2.3