From 18ffcc1ea7720813709b12d5f734a9582ac6e3a3 Mon Sep 17 00:00:00 2001 From: Liz Gehret Date: Fri, 23 Aug 2024 12:21:54 -0700 Subject: [PATCH] just use old ci but with newer python --- .github/workflows/ci-dev.yml | 12 ------------ .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/ci-dev.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci-dev.yml b/.github/workflows/ci-dev.yml deleted file mode 100644 index 65ab94e..0000000 --- a/.github/workflows/ci-dev.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Example of workflow trigger for calling workflow (the client). -name: ci-dev -on: - pull_request: - branches: ["master"] - push: - branches: ["master"] -jobs: - ci: - uses: qiime2/distributions/.github/workflows/lib-ci-dev.yaml@dev - with: - distro: tiny diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5a104ef --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: ci + +on: + pull_request: + push: + branches: + - master + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: checkout source + uses: actions/checkout@v2 + + - name: set up python 3.9 + uses: actions/setup-python@v5 + with: + python-version: 3.9 + + - name: install dependencies + run: python -m pip install --upgrade pip + + - name: lint and test + run: | + pip install -q flake8 + flake8 + python setup.py install + q2lint