From f0051d766a150816cf58d618fda0284ae1798559 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 14 Mar 2023 15:04:46 -0700 Subject: [PATCH] Convert from circle ci to github actions --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..15b68a4f7d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +on: + create: + tags: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + flake8: + name: flake8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: pip install flake8==3.7.8 + - run: python3 -m flake8 --show-source --statistics + - name: install python2 pip + run: sudo apt-get install -q -y python2 python-pip + - run: python2 -m pip install flake8==3.7.8 + - run: python2 -m flake8 --show-source --statistics