diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml deleted file mode 100644 index bdcab99..0000000 --- a/.github/workflows/master.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: master - -on: - push: - branches: - - master - -jobs: - run-tests: - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: '3.9' - - run: pip3 install tox - - run: tox diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml deleted file mode 100644 index 7da2840..0000000 --- a/.github/workflows/pull.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: pull request - -on: - pull_request: - -jobs: - run-tests: - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: '3.9' - - run: pip3 install tox - - run: tox diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9839849 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: tests + +on: + push: + branches: + - '*' + +jobs: + run-tests: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: | + 3.10 + 3.9 + 3.8 + - run: pip3 install tox + - run: tox